sneedstr/Cargo.toml

41 lines
1.3 KiB
TOML

[package]
name = "sneedstr"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
argon2 = "0.5.2"
async-trait = "0.1.73"
chrono = "0.4.31"
tokio = { version = "1", features = ["full"] }
warp = { version = "0.3.3", features = ["tls"] }
validator = { version = "0.16", features = ["derive"] }
tokio-stream = "0.1.14"
futures-util = "0.3.28"
rustls = "0.21"
anyhow = "1.0"
sled = "0.34.7"
sqlx = { version = "0.7", features = [ "runtime-tokio", "tls-rustls", "sqlite", "migrate", "macros"] }
flexi_logger = { version = "0.27.3", features = [ "async", "compress" ] }
lazy_static = "1.4.0"
log = "0.4"
nostr = "0.26.0"
regex = "1.9.5"
sailfish = "0.7.0"
sea-query = { version = "0.30.4", features = ["backend-sqlite", "thread-safe"] }
sea-query-binder = { version = "0.5.0", features = ["sqlx-sqlite"] }
serde = "1.0"
serde_json = "1.0"
thiserror = "1.0.48"
flexbuffers = "2.0.0"
uuid = { version = "1.3.1", features = ["v4", "fast-rng"] }
[profile.release]
opt-level = 'z' # Optimize for size
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*