GithubHelp home page GithubHelp logo

pothos / netplan-types Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tobiasdebruijn/netplan-types

0.0 1.0 0.0 31 KB

Netplan configuration types as Rust structs and enums

License: Other

Rust 99.65% Makefile 0.35%

netplan-types's Introduction

netplan-types

Motivation

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.

Features

  • serde: [Default] Add serde support
  • derive_builder Enable the derive_builder crate for an automatically generated builder pattern API
  • repr-c Add the repr(C) attribute to every type

License

This crate is licensed under the MIT license, or the Apache 2.0 license, at your discretion.

netplan-types's People

Contributors

tobiasdebruijn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.