# 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 = "clavis" version = "0.1.1-rc7" authors = ["Pyro Host Inc. "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "High-performance async network encryption library featuring XChaCha20-Poly1305, type-safe protocol DSL, and zero-copy packet streaming for secure communication channels" readme = "README.md" keywords = [ "encryption", "networking", "async-stream", "xchacha20", "protocol", ] categories = [ "cryptography", "network-programming", "asynchronous", "encoding", "parsing", ] license = "MIT" repository = "https://github.com/pyrohost/clavis" [profile.release] opt-level = 3 lto = true codegen-units = 1 debug = 0 panic = "abort" strip = true [lib] name = "clavis" path = "src/lib.rs" [[bench]] name = "encrypted_stream" path = "benches/encrypted_stream.rs" harness = false [dependencies.anyhow] version = "1.0" [dependencies.bincode] version = "1.3" [dependencies.chacha20poly1305] version = "0.10" [dependencies.hkdf] version = "0.12" [dependencies.hmac] version = "0.12" [dependencies.rand] version = "0.8" features = [ "std", "getrandom", ] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.sha2] version = "0.10" [dependencies.subtle] version = "2.6.1" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.0" features = ["full"] [dependencies.tracing] version = "0.1" features = ["attributes"] [dependencies.x25519-dalek] version = "2.0" [dev-dependencies.criterion] version = "0.5" features = [ "async_tokio", "html_reports", ]