# 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 = "ssh-rs" version = "0.5.0" authors = [ "Gao Xiang Kang <1148118271@qq.com>", "Jovi Hsu ", ] description = "In addition to encryption library, pure RUST implementation of SSH-2.0 client protocol" readme = "README.md" keywords = [ "ssh", "sshAgreement", "sshClient", ] license = "MIT" repository = "https://github.com/1148118271/ssh-rs" [profile.dev] opt-level = 0 [profile.release] opt-level = 3 [lib] name = "ssh" path = "src/lib.rs" [dependencies.aes] version = "0.8" [dependencies.cbc] version = "0.1" optional = true [dependencies.cipher] version = "0.4" optional = true [dependencies.ctr] version = "0.9" [dependencies.des] version = "0.8" optional = true [dependencies.dsa] version = "0.6.1" optional = true [dependencies.filetime] version = "0.2" optional = true [dependencies.flate2] version = "^1.0" [dependencies.num-bigint] version = "0.4" features = ["rand"] [dependencies.rand] version = "0.8" [dependencies.ring] version = "0.17" [dependencies.rsa] version = "0.9" [dependencies.sha1] version = "0.10.5" features = ["oid"] optional = true default-features = false [dependencies.sha2] version = "0.10.6" features = ["oid"] default-features = false [dependencies.signature] version = "2.1" [dependencies.ssh-key] version = "0.6" features = [ "rsa", "ed25519", "alloc", ] [dependencies.strum] version = "0.25" [dependencies.strum_macros] version = "0.25" [dependencies.thiserror] version = "^1.0" [dependencies.tracing] version = "0.1.36" features = ["log"] [dev-dependencies.paste] version = "1" [dev-dependencies.tracing-subscriber] version = "^0.3" [features] deprecated-aes-cbc = [ "dep:cbc", "dep:cipher", ] deprecated-algorithms = [ "deprecated-rsa-sha1", "deprecated-dh-group1-sha1", "deprecated-aes-cbc", "deprecated-des-cbc", "deprecated-dss-sha1", ] deprecated-des-cbc = [ "dep:cbc", "dep:cipher", "dep:des", ] deprecated-dh-group1-sha1 = ["dep:sha1"] deprecated-dss-sha1 = [ "dep:sha1", "dep:dsa", ] deprecated-rsa-sha1 = ["dep:sha1"] deprecated-zlib = [] scp = ["dep:filetime"] [target."cfg(target_arch = \"wasm32\")".dependencies.ring] version = "0.17" features = ["wasm32_unknown_unknown_js"]