[package] name = "echo-rs" version = "0.2.0" description = "A simple HTTP echo server" license = "AGPL-3.0-or-later" edition = "2021" authors = ["Mark S. "] readme = "README.md" homepage = "https://github.com/the-wondersmith/echo-rs" repository = "https://github.com/the-wondersmith/echo-rs" # documentation = "https://docs.rs/echo-rs/latest/echo_rs/" keywords = ["kubernetes", "demo", "axum", "echo"] categories = ["web-programming::http-server", "development-tools::testing"] [profile.dev] debug = 2 opt-level = 0 incremental = true codegen-units = 512 [profile.release] lto = true # Enable Link Time Optimization to remove dead code reduce binary size debug = 0 strip = true # Automatically strip symbols from the binary. opt-level = "z" # Optimize for size. panic = "abort" # Don't include the rustc's unwinding code in release builds codegen-units = 1 # Allow for maximum size reduction optimizations incremental = true [dependencies] log = "^0.4" anyhow = "^1" tracing = "^0.1" metrics = "^0.21" serde_json = "^1" metrics-exporter-prometheus = "^0.12" serde = { version = "^1", features = ["derive"]} tokio = { version = "^1.25", features = ["full"] } axum-server = { version = "^0.5", features = ["tls-rustls"] } tracing-subscriber = { version = "^0.3", features = ["env-filter"] } clap = { version = "^4.3", features = ["env", "derive", "default"] } axum = { version = "^0.6", features = ["http2", "macros", "headers", "tracing"] }