yaml-cpp
A YAML parser and emitter in C++ (by jbeder)
crates.io
The Rust package registry (by rust-lang)
Our great sponsors
yaml-cpp | crates.io | |
---|---|---|
12 | 660 | |
4,734 | 2,768 | |
- | 1.9% | |
7.4 | 10.0 | |
16 days ago | about 20 hours ago | |
C++ | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
yaml-cpp
Posts with mentions or reviews of yaml-cpp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-05.
-
yaml-cpp VS rapidyaml - a user suggested alternative
2 projects | 5 Feb 2022
-
How do you manage third-party libraries
cd /tmp git clone --depth 1 --branch 8.1.1 https://github.com/fmtlib/fmt.git && \ cd fmt && \ mkdir build && \ cd build && \ cmake -DFMT_TEST=OFF .. && \ make && \ make install cd /tmp git clone --depth 1 --branch yaml-cpp-0.7.0 https://github.com/jbeder/yaml-cpp.git && \ cd yaml-cpp && \ mkdir build && \ cd build && \ cmake -DYAML_CPP_BUILD_TESTS=OFF .. && \ make && \ make install # and so on
FetchContent_Declare(yaml-cpp GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git GIT_TAG yaml-cpp-0.7.0 GIT_SHALLOW TRUE ) set(YAML_CPP_BUILD_TESTS OFF) FetchContent_MakeAvailable(yaml-cpp)
-
How to deal with unmaintained crates? (eg. yaml-rust)
Some context, In my day job, I'm working on a custom format that is based on yaml but extends it. We're still using C++, so we the used yaml-cpp as a base for our parser and it was great for that purpose. laying with rust on Advent of Code lately I also got sent back to reality... Not having rust enums, match, great string handling, iterators when working with my AST was hard. So I wanted to try to implement the same parser in Rust as an example to my teammates of how great rust can be.
-
Libraries
yaml-cpp
-
Modern yaml library with clear docs
I've found is yaml-cpp. The API seems fine
I've searched around, and the only thing I've found is yaml-cpp. The API seems fine, but I'm not satisfied with the docs. There's a little tutorial which covers most of the stuff that I'd want to know; but it doesn't properly address error handling. I'm not going to use a library if I don't know what it does in the case of an error! As far as I can find, the only docs are the tutorial, and an api reference which is difficult to navigate, and doesn't seem to have much meaningful information. There is also an 'old tutorial', which seem to refer to an older version of yaml-cpp; and so presumably it isn't relevant any longer.
-
I need help with list project
If you want a file format that has more readability, YAML is probably your best bet.
-
How to read from a file
Can this not be parsed as YAML? (https://github.com/jbeder/yaml-cpp)
crates.io
Posts with mentions or reviews of crates.io.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-26.
-
Migrating a JavaScript frontend to Leptos, a Rust framework
So, be sure to double-check your critical libraries and be sure their alternatives exist in the Rust ecosystem. Thereβs a good chance the crates you need are available in Rust's crates.io repository.
-
Learning Rust: A clean start
The previous section was very simple, this section is also very simple but introduces us to cargo which is Rust's package manager, as a JS dev my mind goes straight to NPM.
-
Rust π¦ Installation + Hello World
Before proceeding, let's check https://crates.io/, the official Rust package registry.
-
Underestimating rust for my Project.
The most thrilling aspect has been the joy of writing the backend. It's like every struct, enum, and method in Rust forms this interconnected Multiverse of code , which you can see in crates.io which is best Documentation experience I Ever Had.
-
Top 10 Rusty Repositories for you to start your Open Source Journey
5. Crates.io
-
Cargo has never frustrated me like npm or pip has. Does Cargo ever get frustrating? Does anyone ever find themselves in dependency hell?
It's more that crates.io gets frustrating. When you end up with a pile of duplicated 3rd party transitive dependencies. Or find that something you foolishly chose as a dep has been abandoned. Or both.
Vendoring your packages was very tedious to even remotely get to work with Cargo. I spent a very long time getting Cargo to work together with cargo-local-registry. We vendor crates from crates.io and a custom internal registry.
-
How did I need to know about feature rwh_05 for winit?
So this is my question: Which way was the right to find it out? There is no info about this feature on crates.io. I also have no clue what exactly it does and why it is named rwh_05.
-
15,000 Go Module Repositories on GitHub Vulnerable to Repojacking Attack
Rust does it so much better with https://crates.io . I don't know why Go can't (or won't) do something similar.
-
Proxy gRPC to gRPC
Are there any crates that do this? If yes, I'd love to know about them, however, I'm doubtful as I've searched crates.io and found no luck.
What are some alternatives?
When comparing yaml-cpp and crates.io you can also consider the following projects:
Boost.PropertyTree - Boost.org property_tree module
ArduinoJson - π JSON library for Arduino and embedded C++. Simple and efficient.
json - JSON for Modern C++
RapidJSON - A fast JSON parser/generator for C++ with both SAX/DOM style API
JsonCpp - A C++ library for interacting with JSON.
JSON++ - A JSON parser in C++
docs.rs - crates.io documentation generator
plotters - A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely π¦ ππ
Cargo - The Rust package manager
trunk - Build, bundle & ship your Rust WASM application to the web.
gtk4-rs - Rust bindings of GTK 4
Rocket - A web framework for Rust.