-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCargo.toml
74 lines (58 loc) · 1.8 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[workspace]
members = ["bevy_lint"]
[package]
name = "bevy_cli"
version = "0.1.0-dev"
edition = "2021"
license = "MIT OR Apache-2.0"
# When no binary is specific, run the main CLI by default.
default-run = "bevy"
# The main CLI executable
[[bin]]
name = "bevy"
path = "src/bin/main.rs"
[features]
# To optimize the Wasm binaries
# Increases compile times (of the CLI) quite a bit
wasm-opt = ["dep:wasm-opt"]
[dependencies]
# CLI argument parsing
clap = { version = "4.5.16", features = ["derive"] }
# autocompletion auto-generation
clap_complete = "4.5.44"
# Easy error propagation and contexts
anyhow = "1.0.86"
# Generates new Bevy projects from templates
cargo-generate = "0.22"
# Better CLI user input
dialoguer = { version = "0.11.0", default-features = false }
# API interaction
serde = { features = ["derive"], version = "1.0.210" }
serde_json = "1.0.128"
reqwest = { features = ["blocking", "json"], version = "0.12.7" }
regex = "1.10.6"
# Understanding package versions
semver = { version = "1.0.23", features = ["serde"] }
# Serving the app for the browser
actix-files = "0.6.6"
actix-web = "4.9.0"
# Opening the app in the browser
webbrowser = "1.0.2"
# Parsing the Cargo manifest
toml_edit = "0.22.22"
# Copying directories
fs_extra = "1.3.0"
# Optimizing Wasm binaries
wasm-opt = { version = "0.116.1", optional = true }
# Handling websocket messages
actix-ws = "0.3.0"
# Utilities for futures which we use for the dev server
futures-util = "0.3.31"
[build-dependencies]
# We don't use `cc` directly, but our dependency `wasm-opt-sys` fails to compile on Windows when using a newer version.
# This can be removed when https://github.com/rust-lang/cc-rs/issues/1324 is fixed.
cc = "=1.2.2"
[dev-dependencies]
# Forcing tests that can't be parallelized to be run sequentially
serial_test = "3.2.0"
assert_cmd = "2.0.16"