1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-05-05 12:17:45 +00:00
kawari/Cargo.toml
Joshua Goins 3f27d2b3df Change configuration format to YAML, allow configuring the address and ports
This removes all of the hardcoded localhost stuff, and allows changing the ports
of various services.
2025-03-22 16:47:21 -04:00

72 lines
1.5 KiB
TOML

[package]
name = "kawari"
description = "A server replacement for a certain MMO."
version = "0.1.0"
edition = "2024"
[[bin]]
name = "kawari-frontier"
[[bin]]
name = "kawari-admin"
[[bin]]
name = "kawari-login"
[[bin]]
name = "kawari-patch"
[[bin]]
name = "kawari-web"
[[bin]]
name = "kawari-lobby"
[[bin]]
name = "kawari-world"
required-features = ["oodle"]
[profile.release]
lto = true
strip = true
opt-level = "z"
codegen-units = 1
panic = "abort"
[features]
default = ["oodle"]
oodle = []
[dependencies]
# Used for the web servers
axum = { version = "0.6", features = ["json", "tokio", "http1", "form", "query", "headers"], default-features = false }
# Serialization used in almost every server
serde = { version = "1.0", features = ["derive"], default-features = false }
serde_json = { version = "1.0", default-features = false }
serde_yaml_ng = "0.10"
# Async runtime
tokio = { version = "1.37", features = ["macros", "rt", "rt-multi-thread", "io-util"], default-features = false }
# Logging
tracing = { version = "0.1", default-features = false }
tracing-subscriber = { version = "0.3", features = ["fmt"], default-features = false }
# Used currently for SID generation
rand = "0.8"
# HTML templates used in the web servers
minijinja = "2.0"
# Serialization of packets
binrw = { version = "0.14", features = ["std"], default-features = false }
# Used in encryption of packets
md5 = "0.7.0"
# Used to access game data
physis = { git = "https://github.com/redstrate/physis" }
# Used for data persistence
rusqlite = { version = "0.34.0", features = ["bundled"] }