lan-party-backend/core/Cargo.toml

25 lines
858 B
TOML

[package]
name = "lan_party_core"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
serde = ["dep:serde"]
openapi = ["dep:schemars"]
rocket = ["dep:rocket", "serde"]
sycamore = ["dep:sycamore", "dep:web-sys", "dep:lan_party_macros"]
[dependencies]
schemars = { version = "0.8", optional = true }
serde = { version = "1", optional = true }
rocket = { version = "0.5.0-rc.2", features = ["json"], optional = true }
sycamore = { version = "0.8.1", features = ["serde", "suspense"], optional = true }
web-sys = { version = "0.3", features = ["Request", "RequestInit", "RequestMode", "Response", "Headers", "HtmlSelectElement"], optional = true }
lan_party_macros = { path = "../macros", optional = true }
paste = "1"
thiserror = "1.0"
displaydoc = "0.2"
log = "0.4"