# 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 = "sunset" version = "0.2.0" description = "A SSH library suitable for embedded and larger programs" readme = "README.md" keywords = ["ssh"] categories = [ "network-programming", "embedded", "no-std", ] license = "0BSD" repository = "https://github.com/mkj/sunset" [profile.dev] opt-level = 1 debug = 2 debug-assertions = true overflow-checks = true [profile.dev.build-override] opt-level = 0 codegen-units = 8 debug = 0 debug-assertions = false overflow-checks = false [profile.release] opt-level = "z" lto = "fat" codegen-units = 1 debug = 2 debug-assertions = false overflow-checks = false incremental = false [profile.release.build-override] opt-level = 0 codegen-units = 8 debug = 0 debug-assertions = false overflow-checks = false [dependencies.aes] version = "0.8" features = ["zeroize"] [dependencies.ascii] version = "1.0" default-features = false [dependencies.chacha20] version = "0.9" features = ["zeroize"] [dependencies.cipher] version = "0.4" features = ["zeroize"] [dependencies.ctr] version = "0.9" features = ["zeroize"] [dependencies.curve25519-dalek] version = "4.0.0" features = ["zeroize"] default-features = false [dependencies.defmt] version = "0.3" optional = true [dependencies.digest] version = "0.10" [dependencies.ed25519-dalek] version = "2.0.0-rc.3" features = [ "zeroize", "rand_core", "hazmat", ] default-features = false [dependencies.embedded-io] version = "0.6" optional = true [dependencies.futures] version = "0.3" default-features = false [dependencies.getrandom] version = "0.2" [dependencies.heapless] version = "0.8" [dependencies.hmac] version = "0.12" [dependencies.log] version = "0.4" [dependencies.poly1305] version = "0.8" [dependencies.pretty-hex] version = "0.4" default-features = false [dependencies.rand_core] version = "0.6" features = ["getrandom"] default-features = false [dependencies.rsa] version = "0.9" features = ["sha2"] optional = true default-features = false [dependencies.sha2] version = "0.10" default-features = false [dependencies.signature] version = "2.0" default-features = false [dependencies.snafu] version = "0.8" features = ["rust_1_61"] default-features = false [dependencies.ssh-key] version = "0.6" features = ["getrandom"] optional = true default-features = false [dependencies.subtle] version = "2.4" default-features = false [dependencies.sunset-sshwire-derive] version = "0.2" [dependencies.x25519-dalek] version = "2.0.0-rc.3" features = ["zeroize"] default-features = false [dependencies.zeroize] version = "1" features = ["derive"] default-features = false [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.pretty-hex] version = "0.4" [dev-dependencies.simplelog] version = "0.12" features = ["test"] [dev-dependencies.snafu] version = "0.8" default-features = true [features] defmt = ["dep:defmt"] embedded-io = ["dep:embedded-io"] openssh-key = ["ssh-key"] rsa = [ "dep:rsa", "ssh-key/rsa", ] std = [ "snafu/std", "snafu/backtrace", "ssh-key/alloc", ]