# 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" rust-version = "1.67" name = "fire-stream-api" version = "0.3.4" authors = ["Sören meier "] description = "A more or less simple communication protocol library." readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/fire-lib/fire-stream" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[test]] name = "complete" required-features = [ "encrypted", "json", ] [[test]] name = "advanced" required-features = [ "encrypted", "json", ] [dependencies.bytes] version = "0.2.6" package = "simple-bytes" [dependencies.codegen] version = "0.1.3" package = "fire-stream-api-codegen" [dependencies.crypto] version = "0.4" features = [ "cipher", "signature", ] optional = true package = "fire-crypto" [dependencies.fire-protobuf] version = "0.1" optional = true [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.stream] version = "0.4.3" default-features = false package = "fire-stream" [dependencies.tokio] version = "1.0" features = [ "net", "io-util", "time", "sync", ] optional = true [dependencies.tracing] version = "0.1" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.tokio] version = "1.0" features = [ "net", "io-util", "rt-multi-thread", "time", "macros", "sync", ] [features] connection = [ "tokio", "stream/connection", ] default = ["connection"] encrypted = [ "crypto", "stream/encrypted", ] json = [ "stream/json", "serde", "serde_json", ] protobuf = ["fire-protobuf"]