Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,21 @@ tokio = { version = "1", optional = true, features = ["rt", "net", "time"] }
tokio-util = { version = "0.7", optional = true, features = ["codec"] }
service-binding = { version = "^3", optional = true }
ssh-encoding = { version = "0.2" }
ssh-key = { version = "0.6", features = ["crypto", "alloc"] }
ssh-key = { version = "0.6", features = ["alloc"] }
Comment thread
wiktor-k marked this conversation as resolved.
Outdated
thiserror = "2"
subtle = { version = "2", default-features = false }
signature = { version = "2", features = ["alloc"] }
secrecy = "0.10"

[features]
default = ["agent"]
codec = ["tokio-util"]
agent = ["futures", "log", "tokio", "async-trait", "codec", "service-binding"]
default = ["agent", "crypto-all"]
codec = ["dep:tokio-util"]
crypto-all = ["ssh-key/crypto", "crypto-dsa", "crypto-ecdsa", "crypto-ed25519", "crypto-rsa"]
crypto-dsa = ["ssh-key/dsa"]
crypto-ecdsa = ["ssh-key/p256", "ssh-key/p384", "ssh-key/p521"]
crypto-ed25519 = ["ssh-key/ed25519"]
crypto-rsa = ["ssh-key/rsa"]
agent = ["dep:futures", "dep:log", "dep:tokio", "dep:async-trait", "codec", "dep:service-binding"]

[dev-dependencies]
env_logger = "0.11.10"
Expand Down
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#![doc = include_str!("../README.md")]
#![cfg_attr(feature = "default", doc = include_str!("../README.md"))]
#![cfg_attr(
not(feature = "default"),
doc = "Documentation available using the default feature"
)]
#![deny(missing_debug_implementations)]
#![deny(unsafe_code)]
#![deny(missing_docs)]
Expand Down
1 change: 1 addition & 0 deletions src/proto/extension/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ impl MessageExtension for SessionBind {
}

#[cfg(test)]
#[cfg(feature = "crypto-ed25519")]
mod tests {
use testresult::TestResult;

Expand Down
Loading