Crates.io | netplan-types |
lib.rs | netplan-types |
version | 0.5.0 |
source | src |
created_at | 2022-04-20 10:15:31.474369 |
updated_at | 2024-04-23 13:37:13.587754 |
description | Netplan configuration types as Rust structs and enums |
homepage | |
repository | https://github.com/TobiasDeBruijn/netplan-types |
max_upload_size | |
id | 570901 |
size | 108,532 |
This crate attempts to map the entire netplan configuration into Rust structs and enums. The 'layout' is as close to what you'd write in your netplan YAML files.
The intented use of this crate is to allow for easy editing of the network configuration via the netplan configuration files from a Rust program.
Based on the documentation from netplan, which can be found here Please note that I do not check the docs often for updates, if anything is missing or incorrect in the future, please open an issue or a pull-request so the issue can be addressed.
serde
[Default] Add serde supportderive_builder
Enable the derive_builder crate for an automatically generated builder pattern APIschemars
Allow generation of a JSON schemaThis crate is licensed under the MIT license, or the Apache 2.0 license, at your discretion.