sneedstr/Cargo.toml

48 lines
1.4 KiB
TOML

[package]
name = "sneedstr"
version = "0.1.1"
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"
flexi_logger = { version = "0.27.3", features = [ "async", "compress" ] }
lazy_static = "1.4.0"
log = "0.4"
deadpool-sqlite = "0.7.0"
rusqlite = { version = "0.30.0", features = [ "bundled", "vtab" ] }
rusqlite_migration = "1.0.2"
nostr = "0.27.0"
nostr-database = "0.27.0"
regex = "1.9.5"
sea-query = { version = "0.30.4", features = ["backend-sqlite", "thread-safe"] }
sea-query-rusqlite = { version="0", features = [
"with-chrono",
"with-json",
"with-uuid",
"with-time",
] }
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*