45 lines
1.4 KiB
TOML
45 lines
1.4 KiB
TOML
[package]
|
|
name = "ice-publicip-checker"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
futures = "0.3"
|
|
tokio = { version = "1", features = ["full"] }
|
|
axum = { version = "0", features = ["http2"] }
|
|
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
|
|
tracing-opentelemetry = { version = "0.22", optional = true }
|
|
opentelemetry = { version = "0.21", optional = true }
|
|
opentelemetry_sdk = { version = "0.21", optional = true }
|
|
opentelemetry-stdout = { version = "0.2", features = ["trace"], optional = true }
|
|
|
|
sea-orm = { version = "0", features = [ "sqlx-sqlite", "runtime-tokio-rustls", "macros", "mock", "with-chrono", "with-json", "with-uuid" ] }
|
|
|
|
tera = "1"
|
|
serde = "1"
|
|
serde_json = "1"
|
|
|
|
include_dir = { version = "0.7", features = ["metadata", "glob"], optional = true }
|
|
tower = { version = "0.4", optional = true }
|
|
mime_guess = { version = "2", optional = true }
|
|
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
webrtc = "0.10.1"
|
|
lazy_static = "1.4.0"
|
|
|
|
[features]
|
|
default = [ "embed-templates" ]
|
|
otlp = [ "dep:tracing-opentelemetry", "dep:opentelemetry", "dep:opentelemetry_sdk" ]
|
|
debug = [ "dep:opentelemetry-stdout" ]
|
|
|
|
embed-templates = [ "dep:include_dir" ]
|
|
|
|
embed-static = [ ]
|
|
serve-static = ["embed-static", "dep:mime_guess", "dep:tower" ]
|
|
extract-static = ["embed-static"]
|