lan-party-backend/core/Cargo.toml

24 lines
846 B
TOML
Raw Normal View History

2022-09-04 11:13:24 +02:00
[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"]
2022-09-12 09:49:16 +02:00
sycamore = ["dep:sycamore", "dep:web-sys", "dep:lan_party_macros"]
2022-09-04 11:13:24 +02:00
[dependencies]
schemars = { version = "0.8", optional = true }
serde = { version = "1", optional = true }
rocket = { version = "0.5.0-rc.2", features = ["json"], optional = true }
2022-09-12 09:49:16 +02:00
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 }
2022-09-04 11:13:24 +02:00
paste = "1"
thiserror = "1.0"
2022-09-12 09:49:16 +02:00
displaydoc = "0.2"