-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
135 lines (115 loc) · 3.08 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[workspace]
resolver = "2" # Important! wgpu/Bevy needs this!
members = ["macros", "cli"]
[workspace.package]
version = "0.2.0-rc.5"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
authors = ["Peter Hayman <[email protected]>"]
description = "Rust Utilities"
documentation = "https://mrchantey.github.io/forky/docs"
repository = "https://github.com/mrchantey/sweet"
[workspace.dependencies]
sweet = { path = ".", version = "0.2.0-rc.5" }
sweet_macros = { path = "./macros", version = "0.2.0-rc.5" }
# forky = { version = "0.2.0-rc.2", path = "../forky/crates/forky" }
forky = { version = "0.2.0-rc.7" }
## utility
log = "0.4"
pretty_env_logger = "0.4"
anyhow = "1.0"
backtrace = "0.3.66"
inventory = "0.3.2"
extend = "1.1.2"
## game
bevy = { version = "0.15.0-rc.1", default-features = false }
# bevy = { git = "https://github.com/bevyengine/bevy", rev = "0c959f77007c29eead7f902bddd3342a1ecbca20", default-features = false }
### io ###
flume = "0.11.0"
clap = { version = "4.2.2", features = ["derive"] }
colorize = "0.1.0"
crossterm = "0.25.0"
dotenv = "0.15.0"
gag = "1.0.0"
glob = "0.3.1"
notify = "6.0.1"
notify-debouncer-full = "0.2.0"
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
ciborium = "0.2"
### async ###
futures = "0.3.28"
futures-util = "0.3.28"
tokio = { version = "1.27.0", features = [
"macros",
"rt",
"rt-multi-thread",
"time",
] }
tokio-stream = "0.1.14"
rayon = "1.7.0"
## math
getrandom = { version = "0.2.9", features = ["js"] }
### macros ###
proc-macro2 = "1.0.47"
syn = { version = "2.0.*", features = ["full"] }
quote = "1.0.21"
rstml = "0.11.2"
typed-builder = "0.18.0"
[package]
name = "sweet"
version = { workspace = true }
edition = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
readme = "README.md"
description = "A very pretty test runner for rust"
documentation = "https://mrchantey.github.io/forky/docs/sweet"
categories = ["development-tools::testing"]
keywords = [ # 5 at most
"test",
"unit",
"e2e",
"browser",
"webdriver",
]
[features]
# default= ["bevy"]
bevy = ["dep:bevy"]
[dependencies]
### internal ###
forky = { workspace = true }
sweet_macros = { workspace = true }
### misc ###
anyhow = { workspace = true }
getrandom = { workspace = true }
inventory = { workspace = true }
extend = { workspace = true }
flume = { workspace = true }
### console ###
log = { workspace = true }
pretty_env_logger = { workspace = true }
colorize = { workspace = true }
backtrace = { workspace = true }
### parse ###
serde = { workspace = true }
serde_json = { workspace = true }
glob = { workspace = true }
### async ###
rayon = { workspace = true }
futures = { workspace = true }
### bevy ###
bevy = { workspace = true, optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { workspace = true }
clap = { workspace = true }
forky = { workspace = true, features = ["fs"] }
crossterm = { workspace = true }
gag = { workspace = true }
[[test]]
name = "test_sweet"
path = "test/sweet.rs"
harness = false
required-features = ["bevy"]