affluence/Cargo.toml

36 lines
974 B
TOML

[workspace]
members = [
"affluences-api",
"affluences-cli",
]
# Don't build the CLI tool by default
default-members = [
".",
"affluences-api",
]
[package]
name = "affy"
version = "0.1.0"
edition = "2021"
[dependencies]
affluences-api = { path = "./affluences-api" }
tokio = { version = "1.28.1", features = ["full"] }
chrono = "*"
uuid = "*"
poise = "0.5.5"
async-minecraft-ping = "0.8.0"
diesel = { version = "2.0.4", features = ["sqlite", "returning_clauses_for_sqlite_3_35", "r2d2"] }
diesel_migrations = { version = "2.0.0", features = [ "sqlite" ] }
# Force sqlite3 to be bundled, allowing for a fully static binary
libsqlite3-sys = { version = "*", features = ["bundled"] }
# https://stackoverflow.com/a/54842093
[profile.release]
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*