[workspace.package]
edition = "2021"
license = "MIT"
authors = ["Jacobtread <jacobtread@gmail.com>"]
repository = "https://github.com/PocketRelay/ServerRust"
[workspace]
members = [".", "database"]
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
log = "0.4"
[workspace.dependencies.chrono]
version = "0.4"
default-features = false
features = ["std", "serde"]
[package]
name = "pocket-relay"
version = "0.3.3"
description = "Pocket Relay Server"
repository = "https://github.com/PocketRelay/Server"
readme = "README.md"
keywords = ["EA", "PocketRelay", "MassEffect"]
include = ["src/**/*"]
edition.workspace = true
license.workspace = true
authors.workspace = true
[features]
default = ["database-sqlite"]
database-sqlite = ["database/sqlite"]
database-mysql = ["database/mysql"]
[dependencies]
log = { workspace = true }
serde = { workspace = true }
blaze-pk = "1"
blaze-ssl-async = "^0.3"
database = { path = "database", package = "pocket-relay-database", version = "^0.3" }
rust-embed = { version = "6.4.2", features = ["debug-embed"] }
argon2 = "0.5"
base64ct = { version = "1.5", features = ["alloc"] }
flate2 = { version = "1", features = ["zlib"], default-features = false }
ring = "0.16"
dotenvy = "0.15"
local-ip-address = "0.5"
thiserror = "1"
validator = { version = "0.16", features = ["derive"] }
interlink = "0.1"
tokio-util = { version = "0.7", features = ["codec"] }
futures = "0.3"
[dependencies.tokio]
version = "1"
features = [
"fs",
"macros",
"net",
"parking_lot",
"rt-multi-thread",
"signal",
"sync",
]
[dependencies.axum]
version = "0.6.1"
default-features = false
features = ["http1", "json", "query", "tokio"]
[dependencies.reqwest]
version = "0.11.12"
default-features = false
features = ["json", "rustls-tls"]
[dependencies.log4rs]
version = "1.2.0"
default-features = false
features = ["console_appender", "file_appender"]
[patch.crates-io]
local-ip-address = { git = "https://github.com/jacobtread/local-ip-address.git" }
[profile.release]
strip = true
lto = true
[profile.dist]
inherits = "release"
lto = "thin"