[package] name = "bevy_rtc" version.workspace = true license.workspace = true edition.workspace = true description.workspace = true repository.workspace = true authors.workspace = true keywords.workspace = true categories.workspace = true readme.workspace = true [package.metadata.docs.rs] all-features = true # document all features rustdoc-args = [ "--cfg", "docsrs", ] # defines the configuration attribute `docsrs` [dependencies] bevy = { workspace = true } bevy_rtc_macros = '0.3.1' bevy_matchbox = { workspace = true } serde = "1" instant = "0.1" enum-display = "0.1" # Default encoding serde_json = { version = "1", optional = true } # Binary encoding (`binary` feature) bincode = { version = "1", optional = true } [features] default = ["dep:serde_json"] client = [] server = ["bevy_matchbox/signaling"] binary = ["dep:bincode"]