-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
40 lines (34 loc) · 1.32 KB
/
Cargo.toml
File metadata and controls
40 lines (34 loc) · 1.32 KB
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
[package]
name = "rusty-dynamock-http-server"
version = "0.5.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "main"
path = "src/main.rs"
[dependencies]
axum = "0.6"
tokio = { version = "1", features = ["full"] }
hyper = { version = "1.0.0-rc.3", features = ["full"] }
tower = "0.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1"
tracing-subscriber = "0.3"
serde-jsonlines = { version = "0.7.0", features = ["async"] }
clap = { version = "4.5.47", features = ["derive"] }
[profile.release]
# optimize runtime performance but takes more time to build (we could also use "fat" for slightly better performance but it would take even more time to build)
lto = "thin"
# optimize runtime performance but takes more time to build
codegen-units = 1
# decrease significantly the binary size by removing the debugging info https://doc.rust-lang.org/cargo/reference/profiles.html#strip
strip = "symbols"
[dev-dependencies]
cucumber = "0.20"
escargot = "0.5.8"
json_value_merge = "2.0.0"
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
[[test]]
name = "cucumber" # this should be the same as the filename of your test target
harness = false # allows Cucumber to print output instead of libtest