metalssh 0.0.1

Experimental SSH implementation
docs.rs failed to build metalssh-0.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: metalssh-0.0.0

MetalSSH

Crates.io Version docs.rs

MetalSSH is an experimental SSH implementation with these goals:

  • Protocol represented cleanly as a state machine, so that invalid states are impossible
  • Sans-IO, so that the protocol may be run over any transports
  • Zero-copy as much as possible, doing no allocations within the library
  • no_std-compatible such that the library works without a heap
  • Modular cryptographic backends so that may be benchmarked against each other

Tests

Run all tests:

cargo test

Run only integration tests, which hits the network:

cargo test --test integration

Benchmarks

Benchmarks use criterion and run in release mode by default.

To view an HTML landing page with the benchmarks, run this after having run the benchmarks:

open target/criterion/report/index.html

Run cipher benchmarks:

cargo bench --bench cipher