Crates.io | nethsm-sdk-rs |
lib.rs | nethsm-sdk-rs |
version | 1.1.1 |
source | src |
created_at | 2023-09-15 14:10:01.337912 |
updated_at | 2024-09-19 14:41:13.935549 |
description | Rust SDK to communicate with Nitrokey NetHSM |
homepage | https://www.nitrokey.com/products/nethsm |
repository | https://github.com/Nitrokey/nethsm-sdk-rs |
max_upload_size | |
id | 973698 |
size | 342,059 |
This API client was generated by the OpenAPI Generator project.
All endpoints expect exactly the specified JSON. Additional properties will cause a Bad Request Error (400). All HTTP errors contain a JSON structure with an explanation of type string. All base64 encoded values are Big Endian.
Put the package under your project folder in a directory named nethsm-sdk
and add the following to Cargo.toml
under [dependencies]
:
nethsm-sdk-rs = { git = "https://github.com/Nitrokey/nethsm-sdk-rs" }
To get access to the crate's generated documentation, use:
cargo doc --open
Dependencies: Rust toolchain, Docker
To update the code from the latest API definition, execute:
./update_openapi.sh
It will build the custom openapi-generator Docker image. Run it to generate the code from the online API definition and then format the generated code.
The Rust crate is licensed under the MIT license.
The customized OpenAPI generator code is modified from the openapi-generator repository, licenced under Apache 2.0.