-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
32 lines (28 loc) · 1.09 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
[package]
name = "beam-file"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = { version = "0.7", optional = true}
axum-extra = { version = "0.9", optional = true, features = ["typed-header"]}
http-serde = "2.1"
reqwest = { version = "0.12", features = ["rustls-tls", "stream"], default-features = false }
clap = { version = "4.5", features = ["derive", "env"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal", "fs", "io-std"] }
once_cell = "1"
beam-lib = { git = "https://github.com/samply/beam", branch = "fix/relative-urls", features = ["http-util", "sockets"] }
serde_json = "1"
serde = { version = "1", features = ["derive"] }
tokio-util = { version = "0.7", features = ["io"] }
futures-util = { version = "0.3", default-features = false, features = ["std"] }
anyhow = "1"
sync_wrapper = { version = "1", features = ["futures"] }
[features]
server = ["dep:axum", "dep:axum-extra"]
[profile.release]
lto = true
opt-level = "z"
codegen-units = 1
strip = true