bevy/crates/bevy_remote/Cargo.toml
2024-11-05 23:26:31 +01:00

45 lines
1.3 KiB
TOML

[package]
name = "bevy_remote"
version = "0.15.0-rc.3"
edition = "2021"
description = "The Bevy Remote Protocol"
homepage = "https://bevyengine.org"
repository = "https://github.com/bevyengine/bevy"
license = "MIT OR Apache-2.0"
keywords = ["bevy"]
[features]
default = ["http"]
http = ["dep:async-io", "dep:smol-hyper"]
[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.15.0-rc.3" }
bevy_derive = { path = "../bevy_derive", version = "0.15.0-rc.3" }
bevy_ecs = { path = "../bevy_ecs", version = "0.15.0-rc.3", features = [
"serialize",
] }
bevy_hierarchy = { path = "../bevy_hierarchy", version = "0.15.0-rc.3" }
bevy_reflect = { path = "../bevy_reflect", version = "0.15.0-rc.3" }
bevy_tasks = { path = "../bevy_tasks", version = "0.15.0-rc.3" }
bevy_utils = { path = "../bevy_utils", version = "0.15.0-rc.3" }
# other
anyhow = "1"
hyper = { version = "1", features = ["server", "http1"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
http-body-util = "0.1"
async-channel = "2"
# dependencies that will not compile on wasm
[target.'cfg(not(target_family = "wasm"))'.dependencies]
async-io = { version = "2", optional = true }
smol-hyper = { version = "0.1", optional = true }
[lints]
workspace = true
[package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
all-features = true