[package]
edition = "2021"
rust-version = "1.60"
name = "ssh-encoding-fork-arti"
version = "0.2.0"
authors = ["RustCrypto Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Pure Rust implementation of SSH data type decoders/encoders as described
in RFC4251
"""
readme = "README.md"
keywords = [
"crypto",
"certificate",
"key",
"openssh",
"ssh",
]
categories = [
"authentication",
"cryptography",
"encoding",
"no-std",
"parser-implementations",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/SSH/tree/master/ssh-encoding"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = [
"base64?/alloc",
"pem?/alloc",
]
bytes = [
"alloc",
"dep:bytes",
]
pem = [
"base64",
"dep:pem",
]
std = [
"alloc",
"base64?/std",
"pem?/std",
"sha2?/std",
]
[lib]
name = "ssh_encoding_fork_arti"
path = "src/lib.rs"
[[test]]
name = "decode"
path = "tests/decode.rs"
[[test]]
name = "encode"
path = "tests/encode.rs"
[dependencies.base64]
version = "1.4"
optional = true
package = "base64ct"
[dependencies.bytes]
version = "1"
optional = true
default-features = false
[dependencies.pem]
version = "0.7"
optional = true
package = "pem-rfc7468"
[dependencies.sha2]
version = "0.10"
optional = true
default-features = false
[dev-dependencies.hex-literal]
version = "0.4.1"