# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "libsignal-protocol" version = "0.1.0" authors = ["Michael Bryan "] description = "An idiomatic high-level interface to the libsignal-protocol-c crate." homepage = "https://github.com/Michael-F-Bryan/libsignal-protocol-rs" readme = "../README.md" keywords = ["signal", "libsignal", "whisper", "protocol"] categories = ["api-bindings", "cryptography"] license = "MIT OR Apache-2.0" repository = "https://github.com/Michael-F-Bryan/libsignal-protocol-rs" [dependencies.aes] version = "0.3.2" optional = true [dependencies.aes-ctr] version = "0.3.0" optional = true [dependencies.block-modes] version = "0.3.3" optional = true [dependencies.failure] version = "0.1.5" [dependencies.failure_derive] version = "0.1.5" [dependencies.hmac] version = "0.7.0" optional = true [dependencies.libsignal-protocol-sys] version = "0.1.0" [dependencies.lock_api] version = "0.2.0" [dependencies.log] version = "0.4.6" [dependencies.openssl] version = "0.10" optional = true [dependencies.parking_lot] version = "0.8.0" [dependencies.rand] version = "0.6.5" [dependencies.rental] version = "0.5.3" optional = true [dependencies.sha2] version = "0.8.0" optional = true [dev-dependencies.cfg-if] version = "0.1.9" [dev-dependencies.env_logger] version = "0.6.1" [features] crypto-native = ["sha2", "hmac", "aes", "block-modes", "aes-ctr"] crypto-openssl = ["openssl", "rental"] default = ["crypto-native"]