# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "lyanne" version = "0.6.2" authors = ["Robsutar"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Tick-based communication library for server-client architectures." documentation = "https://docs.rs/lyanne" readme = "README.md" keywords = [ "networking", "low-latency", "tick-based", "cryptography", ] categories = [ "network-programming", "game-development", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Robsutar/lyanne/" [package.metadata.docs.rs] all-features = false features = [ "rt_smol", "client", "server", "sd_bincode", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "lyanne" path = "src/lib.rs" [dependencies.async-channel] version = "^2.0.0" [dependencies.async-executor] version = "^1.13.0" optional = true [dependencies.async-lock] version = "^3.0.0" optional = true [dependencies.async-net] version = "^2.0.0" optional = true [dependencies.async-std] version = "^1.0.0" optional = true [dependencies.bevy_ecs] version = "^0.14.0" optional = true [dependencies.bevy_tasks] version = "^0.14.0" optional = true [dependencies.bincode] version = "^1.0.0" optional = true [dependencies.chacha20poly1305] version = "^0.10.0" optional = true [dependencies.dashmap] version = "^6.0.0" [dependencies.futures] version = "^0.3" features = ["alloc"] optional = true [dependencies.futures-rustls] version = "^0.26.0" optional = true [dependencies.futures-timer] version = "^3.0.0" optional = true [dependencies.lyanne-derive] version = "0.2.0" optional = true [dependencies.rand] version = "^0.8.0" [dependencies.rustls-pemfile] version = "^2.0.0" optional = true [dependencies.serde] version = "^1.0.0" features = ["derive"] optional = true [dependencies.smol] version = "^2.0.0" optional = true [dependencies.tokio] version = "^1.0.0" features = ["net"] optional = true [dependencies.tokio-rustls] version = "^0.26.0" optional = true [dependencies.x25519-dalek] version = "^2.0.0" [features] auth_tcp = ["dep:chacha20poly1305"] auth_tls = [ "dep:chacha20poly1305", "dep:tokio-rustls", "dep:futures-rustls", "dep:rustls-pemfile", ] bevy_packet_schedules = [ "lyanne-derive/bevy_packet_schedules", "dep:bevy_ecs", ] client = ["lyanne-derive/client"] default = [] deserialized_message_map = [] no_panics = [] rt_async_executor = [ "dep:async-executor", "dep:async-net", "dep:async-lock", "dep:futures", "dep:futures-timer", ] rt_async_std = [ "dep:async-std", "dep:futures", "dep:futures-timer", ] rt_bevy = [ "dep:bevy_tasks", "dep:async-net", "dep:async-lock", "dep:futures", "dep:futures-timer", ] rt_smol = [ "dep:smol", "dep:async-executor", "dep:async-net", "dep:async-lock", "dep:futures", "dep:futures-timer", ] rt_tokio = ["dep:tokio"] sd_bincode = [ "dep:lyanne-derive", "lyanne-derive/sd_bincode", "dep:serde", "dep:bincode", "dep:bincode", ] server = ["lyanne-derive/server"] store_unexpected = []