[package] name = "ntitled" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] axum = "0.7.3" chrono = { version = "0.4.31", features = ["serde"] } dotenv = "0.15.0" lazy_static = "1.4.0" minijinja = "1.0.10" rand = "0.8.5" reqwest = { version = "0.11.23", features = ["json"] } serde = { version = "1.0.194", features = ["derive"] } serde_json = "1.0.110" thiserror = "1.0.56" tokio = { version = "1.35.1", features = [ "macros", "rt-multi-thread", "process", ] } tower-http = { version = "0.5.0", features = ["fs"] } tracing = "0.1.40" tracing-subscriber = "0.3.18" urlencoding = "2.1.3" htmxpress = "0.1.0" # htmxpress = { path = "../htmxpress/htmxpress" } [features] debug = [] [target.'cfg(target_arch = "aarch64")'.dependencies] reqwest = { version = "0.11.23", features = ["native-tls-vendored", "json"] } [profile.release] codegen-units = 1 # https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units lto = true # https://doc.rust-lang.org/rustc/codegen-options/index.html#lto opt-level = "z" # https://doc.rust-lang.org/rustc/codegen-options/index.html#opt-level strip = "symbols" # https://doc.rust-lang.org/rustc/codegen-options/index.html#strip