[package] name = "borders-core" version.workspace = true edition.workspace = true authors.workspace = true [package.metadata.cargo-machete] ignored = ["serde_bytes", "chrono"] [features] default = ["ui"] ui = [] [dependencies] anyhow = "1.0" async-trait = "0.1" bevy_ecs = { version = "0.17", default-features = false, features = ["std"] } bincode = { version = "2.0.1", features = ["serde"] } flume = "0.11" futures = "0.3" futures-lite = "2.6.1" glam = "0.30" hex = "0.4" hmac = "0.12" image = "0.25" once_cell = "1.20" rand = "0.9" serde = { version = "1.0", features = ["derive", "rc"] } slotmap = "1.0" serde_bytes = "0.11" serde_json = "1.0" sha2 = "0.10" tracing = "0.1" url = "2.5.0" web-transport = "0.9" base64 = "0.22" # Target-specific dependencies to keep WASM builds compatible [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tokio = { version = "1", features = [ "rt-multi-thread", "macros", "time", "io-util", "sync", ] } reqwest = { version = "0.12", default-features = false, features = [ "json", "rustls-tls", "brotli", "gzip", "deflate", "zstd", ] } hickory-resolver = { version = "0.25", features = [ "tls-ring", "https-ring", "quic-ring", "h3-ring", "webpki-roots", ] } uuid = { version = "1.11", features = ["v4", "serde"] } machineid-rs = "1.2" directories = "5.0" rustls-pemfile = "2.2.0" ring = "0.17.14" pem = "3.0.5" sysinfo = "0.33" [target.'cfg(windows)'.dependencies] winreg = "0.52" [target.'cfg(target_arch = "wasm32")'.dependencies] tokio = { version = "1", features = ["rt", "macros", "time", "io-util"] } reqwest = { version = "0.12", default-features = false, features = ["json"] } uuid = { version = "1.11", features = ["v4", "serde", "js"] } js-sys = "0.3" wasm-bindgen = "0.2" wasm-bindgen-futures = "0.4" gloo-timers = { version = "0.3", features = ["futures"] } web-sys = { version = "0.3", features = [ "BroadcastChannel", "MessageEvent", "Navigator", "Window", ] } web-time = "1.1" [build-dependencies] chrono = "0.4"