ssh-protocol 0.4.0

Pure Rust implementation of the SSH protocol as described in RFC4251/RFC4253 as well as OpenSSH-specific extensions (WIP)
Documentation
[package]
name = "ssh-protocol"
version = "0.4.0"
description = """
Pure Rust implementation of the SSH protocol as described in RFC4251/RFC4253 as well as
OpenSSH-specific extensions (WIP)
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
homepage = "https://github.com/RustCrypto/SSH/tree/master/ssh-protocol"
repository = "https://github.com/RustCrypto/SSH"
categories = ["authentication", "cryptography", "encoding", "no-std"]
keywords = ["crypto", "certificate", "openssh", "ssh", "sshsig"]
readme = "README.md"
edition = "2024"
rust-version = "1.87"

[dependencies]
cipher = { package = "ssh-cipher", version = "0.4", default-features = false }
encoding = { package = "ssh-encoding", version = "0.4.1", default-features = false, features = ["digest"] }
key = { package = "ssh-key", version = "0.7", default-features = false }
rand_core = { version = "0.10", default-features = false }

# optional dependencies
curve25519-dalek = { version = "5.1", optional = true, default-features = false }
ml-kem = { version = "0.3", optional = true, default-features = false, features = ["zeroize"] }
sha2 = { version = "0.11", optional = true, default-features = false, features = ["zeroize"] }
x25519-dalek = { version = "3", optional = true, default-features = false, features = ["zeroize"] }
zeroize = { version = "1.8", optional = true, default-features = false }

[dev-dependencies]
chacha20 = { version = "0.10", features = ["rng"] }
sha2 = { version = "0.11", default-features = false }

[features]
default = ["std"]
alloc = ["encoding/alloc", "key/alloc"]
std = ["alloc", "key/std"]
mlkem768x25519-sha256 = [
    "dep:curve25519-dalek",
    "dep:ml-kem",
    "dep:sha2",
    "dep:x25519-dalek",
    "dep:zeroize",
    "encoding/derive",
]

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true