Cargo.toml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 = "0.1.0"
  27. # htmxpress = { path = "../htmxpress/htmxpress" }
  28. [features]
  29. debug = []
  30. [target.'cfg(target_arch = "aarch64")'.dependencies]
  31. reqwest = { version = "0.11.23", features = ["native-tls-vendored", "json"] }
  32. [profile.release]
  33. codegen-units = 1 # https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units
  34. lto = true # https://doc.rust-lang.org/rustc/codegen-options/index.html#lto
  35. opt-level = "z" # https://doc.rust-lang.org/rustc/codegen-options/index.html#opt-level
  36. strip = "symbols" # https://doc.rust-lang.org/rustc/codegen-options/index.html#strip