mirror of
https://github.com/redstrate/Kawari.git
synced 2025-05-08 13:27:44 +00:00
This allows you to register in the web frontend now, and the login server now checks this before giving a session ID. Note that this is wildly insecure (it stores the passwords in plaintext!) and is duly noted in the USAGE.
70 lines
1.5 KiB
TOML
70 lines
1.5 KiB
TOML
[package]
|
|
name = "kawari"
|
|
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 }
|
|
|
|
# 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"] }
|