# 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 = "zusi" version = "0.3.2" authors = ["Jannis Schaefer "] description = "Proxy crate which bundles an async and sync TCP client for Zusi 3" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/zusi/zusi-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "fahrpult_async" required-features = [ "async", "fahrpult", ] [[example]] name = "fahrpult_sync" required-features = ["fahrpult"] [[test]] name = "serde" required-features = ["fahrpult"] [[test]] name = "codec" required-features = [ "fahrpult", "async", ] [[bench]] name = "codec" harness = false required-features = [ "fahrpult", "async", ] [dependencies.bytes] version = "1" optional = true [dependencies.either] version = "1.10" [dependencies.nom] version = "7" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio-util] version = "0.7" features = ["codec"] optional = true [dependencies.zusi-fahrpult] version = "0.1.5" optional = true [dependencies.zusi-protocol] version = "0.2.1" [dev-dependencies.divan] version = "0.1" [dev-dependencies.futures] version = "0.3" [dev-dependencies.tokio] version = "1" features = [ "macros", "net", "rt", ] [features] async = [ "dep:bytes", "dep:tokio-util", "zusi-protocol/parser", "dep:nom", ] default = ["fahrpult"] fahrpult = ["dep:zusi-fahrpult"]