-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (52 loc) · 2.1 KB
/
Cargo.toml
File metadata and controls
57 lines (52 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "ssh-cipher"
version = "0.3.0-rc.6"
description = """
Pure Rust implementation of SSH symmetric encryption including support for the
modern aes128-gcm@openssh.com/aes256-gcm@openssh.com and
chacha20-poly1305@openssh.com algorithms as well as legacy support for older
ciphers. Built on the pure Rust cryptography implementations maintained by the
RustCrypto organization.
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
homepage = "https://github.com/RustCrypto/SSH/tree/master/ssh-cipher"
repository = "https://github.com/RustCrypto/SSH"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "encryption", "openssh", "ssh"]
readme = "README.md"
edition = "2024"
rust-version = "1.85"
[dependencies]
cipher = "0.5.0-rc.6"
encoding = { package = "ssh-encoding", version = "0.3.0-rc.6" }
# optional dependencies
aead = { version = "0.6.0-rc.8", optional = true, default-features = false }
aes = { version = "0.9.0-rc.2", optional = true, default-features = false }
aes-gcm = { version = "0.11.0-rc.2", optional = true, default-features = false, features = ["aes"] }
cbc = { version = "0.2.0-rc.2", optional = true }
ctr = { version = "0.10.0-rc.2", optional = true, default-features = false }
chacha20 = { version = "0.10.0-rc.10", optional = true, default-features = false, features = ["cipher", "legacy"] }
des = { version = "0.9.0-rc.2", optional = true, default-features = false }
poly1305 = { version = "0.9.0-rc.3", optional = true, default-features = false }
subtle = { version = "2", optional = true, default-features = false }
zeroize = { version = "1", optional = true, default-features = false }
[dev-dependencies]
hex-literal = "1"
[features]
aes-cbc = ["dep:aes", "dep:cbc"]
aes-ctr = ["dep:aes", "dep:ctr"]
aes-gcm = ["dep:aead", "dep:aes", "dep:aes-gcm"]
chacha20poly1305 = ["dep:aead", "dep:chacha20", "dep:poly1305", "dep:subtle"]
tdes = ["dep:des", "dep:cbc"]
zeroize = [
"dep:zeroize",
"aes?/zeroize",
"aes-gcm?/zeroize",
"chacha20?/zeroize",
"des?/zeroize",
"poly1305?/zeroize"
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]