-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCargo.toml
95 lines (77 loc) · 2.17 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[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]
default = ["web"]
# To optimize the Wasm binaries
wasm-opt = ["web"]
# Run your Bevy app in the browser
web = [
"dep:webbrowser",
"dep:http",
"dep:axum",
"dep:tower",
"dep:tower-http",
"dep:tokio",
"dep:fs_extra",
]
[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 = { version = "0.12.7", default-features = false, features = [
"default-tls",
"blocking",
"json",
] }
regex = "1.10.6"
# Understanding package versions
semver = { version = "1.0.23", features = ["serde"] }
# Parsing the Cargo manifest
toml_edit = { version = "0.22.22", default-features = false, features = [
"parse",
] }
# Logging crates
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
# Web dependencies
## Opening the app in the browser
webbrowser = { version = "1.0.2", optional = true }
## Serving the app for the browser
http = { version = "1.2", optional = true }
axum = { version = "0.8.1", default-features = false, features = [
"ws",
"http1",
"tokio",
"tracing",
], optional = true }
tower = { version = "0.5.2", features = ["util"], optional = true }
tower-http = { version = "0.6.1", features = ["fs", "trace"], optional = true }
tokio = { version = "1.0", features = ["full"], optional = true }
## Copying directories
fs_extra = { version = "1.3.0", optional = true }
[dev-dependencies]
# Forcing tests that can't be parallelized to be run sequentially
serial_test = "3.2.0"
assert_cmd = "2.0.16"
tempfile = "3"