45 lines
1.1 KiB
TOML
45 lines
1.1 KiB
TOML
[package]
|
|
name = "biter"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[profile.release]
|
|
#strip = true
|
|
|
|
[features]
|
|
default = ["db", "metrics", "tracing"]
|
|
db = ["dep:sqlx"]
|
|
metrics = ["tracing"]
|
|
tracing = [
|
|
"dep:tracing",
|
|
"dep:tracing-subscriber",
|
|
"tower-http/trace",
|
|
"axum/tracing",
|
|
"axum/matched-path",
|
|
]
|
|
|
|
[dependencies]
|
|
askama = { version = "0.12.1", features = ["with-axum", "markdown"] }
|
|
askama_axum = "0.4.0"
|
|
axum = "0.7.4"
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] }
|
|
toml = "0.8.10"
|
|
tower-http = { version = "0.5.2", features = ["fs"] }
|
|
tracing = { version = "0.1.40", optional = true }
|
|
tracing-subscriber = { version = "0.3.18", optional = true, features = [
|
|
"json",
|
|
"env-filter",
|
|
] }
|
|
sqlx = { version = "0.7.3", optional = true, features = [
|
|
"runtime-tokio",
|
|
"postgres",
|
|
] }
|
|
thiserror = "1.0.57"
|
|
reqwest = { version = "0.11.25", default-features = false, features = [
|
|
"rustls-tls",
|
|
"json",
|
|
] }
|
|
html5ever = "0.26.0"
|
|
markup5ever_rcdom = "0.2.0"
|
|
url = { version = "2.5.0", features = ["serde"] }
|