2023-10-04 19:06:59 -04:00
|
|
|
[package]
|
|
|
|
name = "kawari"
|
2025-03-17 16:58:48 -04:00
|
|
|
description = "A server replacement for a certain MMO."
|
2025-03-22 21:49:05 -04:00
|
|
|
authors = ["Joshua Goins <josh@redstrate.com>"]
|
2023-10-04 19:06:59 -04:00
|
|
|
version = "0.1.0"
|
2025-03-08 13:20:22 -05:00
|
|
|
edition = "2024"
|
2025-03-22 21:49:05 -04:00
|
|
|
license = "GPL-3.0"
|
|
|
|
homepage = "https://xiv.zone/kawari"
|
|
|
|
repository = "https://github.com/redstrate/Kawari"
|
|
|
|
readme = "README.md"
|
2023-10-04 19:06:59 -04:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "kawari-frontier"
|
|
|
|
|
2023-10-05 12:09:05 -04:00
|
|
|
[[bin]]
|
|
|
|
name = "kawari-admin"
|
|
|
|
|
2023-10-05 13:09:21 -04:00
|
|
|
[[bin]]
|
|
|
|
name = "kawari-login"
|
|
|
|
|
2023-10-06 17:46:58 -04:00
|
|
|
[[bin]]
|
|
|
|
name = "kawari-patch"
|
|
|
|
|
2024-05-11 14:02:55 -04:00
|
|
|
[[bin]]
|
|
|
|
name = "kawari-web"
|
|
|
|
|
2025-03-10 21:31:21 -04:00
|
|
|
[[bin]]
|
|
|
|
name = "kawari-lobby"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "kawari-world"
|
|
|
|
required-features = ["oodle"]
|
|
|
|
|
2023-10-04 19:06:59 -04:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
strip = true
|
|
|
|
opt-level = "z"
|
|
|
|
codegen-units = 1
|
|
|
|
panic = "abort"
|
|
|
|
|
2025-03-10 21:31:21 -04:00
|
|
|
[features]
|
2025-03-22 21:44:28 -04:00
|
|
|
default = []
|
2025-03-10 21:31:21 -04:00
|
|
|
oodle = []
|
|
|
|
|
2025-03-26 17:58:15 -04:00
|
|
|
[build-dependencies]
|
|
|
|
# Serialization of IPC opcodes
|
|
|
|
serde = { version = "1.0", features = ["derive"], default-features = false }
|
|
|
|
serde_json = { version = "1.0", features = ["std"], default-features = false }
|
|
|
|
|
2023-10-04 19:06:59 -04:00
|
|
|
[dependencies]
|
2025-03-16 15:24:01 -04:00
|
|
|
# Used for the web servers
|
2025-03-22 21:44:28 -04:00
|
|
|
axum = { version = "0.8", features = ["json", "tokio", "http1", "form", "query"], default-features = false }
|
2025-03-16 15:24:01 -04:00
|
|
|
|
|
|
|
# Serialization used in almost every server
|
|
|
|
serde = { version = "1.0", features = ["derive"], default-features = false }
|
2024-05-11 12:17:33 -04:00
|
|
|
serde_json = { version = "1.0", default-features = false }
|
2025-03-22 21:44:28 -04:00
|
|
|
serde_yaml_ng = { version = "0.10", default-features = false }
|
2025-03-16 15:24:01 -04:00
|
|
|
|
|
|
|
# Async runtime
|
2025-03-22 21:44:28 -04:00
|
|
|
tokio = { version = "1.44", features = ["macros", "rt", "rt-multi-thread", "io-util"], default-features = false }
|
2025-03-16 15:24:01 -04:00
|
|
|
|
|
|
|
# Logging
|
2024-05-11 12:17:33 -04:00
|
|
|
tracing = { version = "0.1", default-features = false }
|
2024-05-11 12:30:53 -04:00
|
|
|
tracing-subscriber = { version = "0.3", features = ["fmt"], default-features = false }
|
2025-03-16 15:24:01 -04:00
|
|
|
|
|
|
|
# Used currently for SID generation
|
2025-03-22 21:44:28 -04:00
|
|
|
rand = { version = "0.9", features = ["std", "thread_rng"], default-features = false }
|
2025-03-16 15:24:01 -04:00
|
|
|
|
|
|
|
# HTML templates used in the web servers
|
2025-03-22 21:44:28 -04:00
|
|
|
minijinja = { version = "2.8", features = ["serde"], default-features = false }
|
2025-03-16 15:24:01 -04:00
|
|
|
|
|
|
|
# Serialization of packets
|
2025-03-12 16:58:18 -04:00
|
|
|
binrw = { version = "0.14", features = ["std"], default-features = false }
|
2025-03-16 15:24:01 -04:00
|
|
|
|
|
|
|
# Used in encryption of packets
|
2025-03-22 21:44:28 -04:00
|
|
|
md5 = { version = "0.7", default-features = false }
|
2025-03-16 15:24:01 -04:00
|
|
|
|
|
|
|
# Used to access game data
|
2025-03-15 19:34:29 -04:00
|
|
|
physis = { git = "https://github.com/redstrate/physis" }
|
2025-03-16 20:55:51 -04:00
|
|
|
|
|
|
|
# Used for data persistence
|
2025-03-22 21:44:28 -04:00
|
|
|
rusqlite = { version = "0.34", features = ["bundled"], default-features = false }
|
2025-03-23 12:54:04 -04:00
|
|
|
|
|
|
|
# needed for c-style bitflags
|
|
|
|
# cannot upgrade to 2.0.0, breaking changes that aren't recoverable: https://github.com/bitflags/bitflags/issues/314
|
|
|
|
bitflags = { version = "1.3", default-features = false }
|
2025-03-27 16:20:33 -04:00
|
|
|
|
|
|
|
# For server-side scripting
|
|
|
|
mlua = { version = "0.10", features = ["lua51", "vendored", "send"] }
|