| 1 | ## sshkeys - Rust library for parsing OpenSSH public keys and certificates |
| 2 | |
| 3 | [](https://github.com/dnaeon/rust-sshkeys/actions/workflows/test.yaml/badge.svg) |
| 4 | [](https://docs.rs/sshkeys/) |
| 5 | |
| 6 | The `sshkeys` crate is a Rust library, which provides types and methods for |
| 7 | parsing OpenSSH public keys and certificates. |
| 8 | |
| 9 | In order to use this crate in your project, simply add the following to your |
| 10 | `Cargo.toml` file. |
| 11 | |
| 12 | ```toml |
| 13 | [dependencies] |
| 14 | sshkeys = "0.3.4" |
| 15 | ``` |
| 16 | |
| 17 | ## Tests |
| 18 | |
| 19 | In order to test this crate locally, execute the following command. |
| 20 | |
| 21 | ```bash |
| 22 | $ cargo test |
| 23 | ``` |
| 24 | |
| 25 | ## Documentation |
| 26 | |
| 27 | The `sshkeys` crate has documentation, which you can build and view locally. |
| 28 | |
| 29 | ```bash |
| 30 | $ cargo doc --open |
| 31 | ``` |
| 32 | |
| 33 | ## Examples |
| 34 | |
| 35 | For examples on how to use this crate, please refer to the `examples` directory. |
| 36 | |
| 37 | In order to run an example, simply execute the following command. |
| 38 | |
| 39 | ```bash |
| 40 | $ cargo run --example <example-name> |
| 41 | ``` |
| 42 | |
| 43 | ## Contributions |
| 44 | |
| 45 | The `sshkeys` crate is hosted on [Github](https://github.com/dnaeon/rust-sshkeys). |
| 46 | Please contribute by reporting issues, suggesting features or by |
| 47 | sending patches using pull requests. |
| 48 | |
| 49 | ## License |
| 50 | |
| 51 | This project is Open Source and licensed under the |
| 52 | [BSD License](http://opensource.org/licenses/BSD-2-Clause). |