Crate dnapi_rs

source ·
Expand description

dnapi-rs

dnapi-rs is a Rust-native crate for interacting with the Defined Networking client API. It is a direct port of dnapi, an officially maintained API client by Defined Networking.

This crate is maintained as a part of the trifid project. Check out the other crates in the git repository.

Modules

  • Client structs to handle communication with the Defined Networking API. This is the async client API - if you want blocking instead, enable the blocking (or default) feature instead.
  • Client structs to handle communication with the Defined Networking API. This is the blocking client API - if you want async instead, set no-default-features and enable the async feature instead.
  • Contains the Credentials struct, which contains all keys, IDs, organizations and other identity-related and security-related data that is persistent in a Client
  • Functions for generating keys and nonces for use in API calls
  • Models for interacting with the Defined Networking API.