60 lines
1.7 KiB
TOML
60 lines
1.7 KiB
TOML
[package]
|
|
name = "centralex"
|
|
version = "1.0.1"
|
|
edition = "2021"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
lto = true
|
|
codegen-units = 1
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
tokio = { version = "1.24.2", features = [
|
|
"macros",
|
|
"rt-multi-thread",
|
|
"net",
|
|
"io-util",
|
|
"sync",
|
|
"time",
|
|
] }
|
|
time = { version = "0.3.20", features = ["local-offset", "macros"] }
|
|
bytemuck = { version = "1.13.0", features = ["derive"] }
|
|
serde = { version = "1.0.152", features = ["derive"] }
|
|
serde_json = "1.0.91"
|
|
hyper = { version = "1.0.1", optional = true, features = ["server", "http1"] }
|
|
futures = { version = "0.3.27", default-features = false, features = ["std"] }
|
|
tracing = "0.1.37"
|
|
tracing-subscriber = { version = "0.3.16", features = ["time"] }
|
|
console-subscriber = { version = "0.2.0", optional = true }
|
|
once_cell = "1.17.1"
|
|
eyre = "0.6.8"
|
|
color-eyre = "0.6.2"
|
|
tracing-error = "0.2.0"
|
|
zerocopy = { version = "0.7.26", features = ["derive"] }
|
|
tokio-stream = { version = "0.1.14", features = ["sync"] }
|
|
flate2 = { version = "1.0.26", optional = true }
|
|
bytes = "1.4.0"
|
|
smallvec = { version = "1.10.0", features = ["serde", "const_generics"] }
|
|
http-body-util = "0.1.0"
|
|
pin-project = "1.1.3"
|
|
async-stream = "0.3.5"
|
|
|
|
[build-dependencies]
|
|
minify-js = { version = "0.5.6", optional = true }
|
|
minify-html = { version = "0.11.1", optional = true }
|
|
css-minify = { version = "0.3.1", optional = true }
|
|
flate2 = { version = "1.0.26", optional = true }
|
|
|
|
[features]
|
|
default = ["debug_server"]
|
|
debug_server = [
|
|
"dep:hyper",
|
|
"dep:minify-html",
|
|
"dep:minify-js",
|
|
"dep:css-minify",
|
|
"dep:flate2",
|
|
]
|
|
tokio_console = ["dep:console-subscriber"]
|