Using Rust to not have to touch Yaml in k8s land

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • rustshop

    Rust Shop is a fake cloud-based software company that you can fork.

  • pyyaml

    Canonical source repository for PyYAML

  • Note some parsers, most notably pyyaml are still at yaml 1.1, because 13 years is just not enough time to update it.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • js-yaml

    JavaScript YAML parser and dumper. Very fast.

  • Character limit is not enforced, and in practice, popular yaml implementations such as yaml/js-yaml don't impose any fixed limit.

  • dhall-lang

    Maintainable configuration files

  • just a thought: this may be a better language to express things that are conventionally expressed in yaml (like the k8s configs) - https://dhall-lang.org/

  • dho

    Generate CircleCI config from `dhall` representations

  • not to argue, but why do you need a "general purpose lang" for this? turing-completeness is a liability in this case IMO (i'm genuinely curious) I've actually experimented generating k8s yamls from a nice DSL described in dhall a while ago just never completed: https://github.com/ababkin/dho Done this way, i don't believe this is true: "will let you create non-existing properties in wrong places and discover it only much later down the line" Don't know what you mean by "doesn't have the understanding of underlying data"

  • yaml-language-server

    Language Server for YAML Files

  • Check out https://github.com/redhat-developer/yaml-language-server if you want to get that IDE experience with YAML from those openapi specs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts