# 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.64" name = "lafere" version = "0.1.0" 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/chuchi-dev/lafere" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "request_response" test = true required-features = ["connection"] [dependencies.bytes] version = "0.2.11" package = "simple-bytes" [dependencies.crypto] version = "0.1" features = [ "cipher", "signature", ] optional = true package = "chuchi-crypto" [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.tokio] version = "1.0" features = [ "net", "io-util", "rt", "time", "sync", "macros", ] optional = true [dependencies.tracing] version = "0.1" [dev-dependencies.tokio] version = "1.0" features = [ "net", "io-util", "rt-multi-thread", "time", "macros", "sync", ] [features] connection = ["tokio"] default = ["connection"] encrypted = ["crypto"] fs = ["tokio/fs"] json = [ "serde", "serde_json", ]