Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [package]
  2. name = "ntitled"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. axum = "0.7.3"
  8. chrono = { version = "0.4.31", features = ["serde"] }
  9. dotenv = "0.15.0"
  10. lazy_static = "1.4.0"
  11. minijinja = "1.0.10"
  12. rand = "0.8.5"
  13. reqwest = { version = "0.11.23", features = ["json"] }
  14. serde = { version = "1.0.194", features = ["derive"] }
  15. serde_json = "1.0.110"
  16. thiserror = "1.0.56"
  17. tokio = { version = "1.35.1", features = [
  18. "macros",
  19. "rt-multi-thread",
  20. "process",
  21. ] }
  22. tower-http = { version = "0.5.0", features = ["fs"] }
  23. tracing = "0.1.40"
  24. tracing-subscriber = "0.3.18"
  25. urlencoding = "2.1.3"
  26. htmxpress = { path = "../htmxpress/htmxpress" }
  27. [features]
  28. debug = []
  29. [target.'cfg(target_arch = "aarch64")'.dependencies]
  30. reqwest = { version = "0.11.23", features = ["native-tls-vendored", "json"] }
  31. [profile.release]
  32. codegen-units = 1 # https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units
  33. lto = true # https://doc.rust-lang.org/rustc/codegen-options/index.html#lto
  34. opt-level = "z" # https://doc.rust-lang.org/rustc/codegen-options/index.html#opt-level
  35. strip = "symbols" # https://doc.rust-lang.org/rustc/codegen-options/index.html#strip