Cargo.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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 = ["macros", "rt-multi-thread"] }
  18. tower-http = { version = "0.5.0", features = ["fs"] }
  19. tracing = "0.1.40"
  20. tracing-subscriber = "0.3.18"
  21. urlencoding = "2.1.3"
  22. [features]
  23. debug = []
  24. [target.'cfg(target_arch = "aarch64")'.dependencies]
  25. reqwest = { version = "0.11.23", features = ["native-tls-vendored", "json"] }
  26. [profile.release]
  27. codegen-units = 1 # https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units
  28. lto = true # https://doc.rust-lang.org/rustc/codegen-options/index.html#lto
  29. opt-level = "z" # https://doc.rust-lang.org/rustc/codegen-options/index.html#opt-level
  30. strip = "symbols" # https://doc.rust-lang.org/rustc/codegen-options/index.html#strip