From a14d8b5f90c8b844c109553746865a3ff3656887 Mon Sep 17 00:00:00 2001 From: Ruslan Semagin <53819609+pixel365@users.noreply.github.com> Date: Thu, 30 May 2024 11:25:41 +0300 Subject: [PATCH] feat: Add useful links to documentation on serialization/deserialization in Rust (#5767) Add Rust web framework doc links. Co-authored-by: dsh Co-authored-by: Kamran Ahmed --- .../roadmaps/rust/content/111-serialization/100-serde.md | 7 ++++++- .../rust/content/111-serialization/101-json-rust.md | 6 +++++- .../roadmaps/rust/content/111-serialization/102-toml-rs.md | 6 +++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/data/roadmaps/rust/content/111-serialization/100-serde.md b/src/data/roadmaps/rust/content/111-serialization/100-serde.md index 2aa208354..2ee64d3a1 100644 --- a/src/data/roadmaps/rust/content/111-serialization/100-serde.md +++ b/src/data/roadmaps/rust/content/111-serialization/100-serde.md @@ -1,3 +1,8 @@ # Serde -"Serde" is a framework in Rust that enables the serialization and deserialization of data structures. It provides a way to convert your data structures from Rust into a format that can be stored or sent over the network, and vice versa, in a flexible and straightforward manner. Despite its convenience, Serde avoids compromising on speed, and it is super-efficient. The library supports a variety of data formats, like JSON, Bincode, TOML, YAML, and more. Serde's design allows you to customize serialization and deserialization in intricate ways if the default behavior doesn't suit your application's needs. \ No newline at end of file +"Serde" is a framework in Rust that enables the serialization and deserialization of data structures. It provides a way to convert your data structures from Rust into a format that can be stored or sent over the network, and vice versa, in a flexible and straightforward manner. Despite its convenience, Serde avoids compromising on speed, and it is super-efficient. The library supports a variety of data formats, like JSON, Bincode, TOML, YAML, and more. Serde's design allows you to customize serialization and deserialization in intricate ways if the default behavior doesn't suit your application's needs. + +Visit the following resources to learn more: + +- [Official Website](https://serde.rs/) +- [Docs.rs: Serde](https://docs.rs/serde/latest/serde/) diff --git a/src/data/roadmaps/rust/content/111-serialization/101-json-rust.md b/src/data/roadmaps/rust/content/111-serialization/101-json-rust.md index 32f20eb7c..6e0dc1752 100644 --- a/src/data/roadmaps/rust/content/111-serialization/101-json-rust.md +++ b/src/data/roadmaps/rust/content/111-serialization/101-json-rust.md @@ -1,3 +1,7 @@ # json-rust -`JSON` (JavaScript Object Notation) is a lightweight data-interchange format that is used to store and exchange data. In `Rust`, you can work with `JSON` data using the `serde` and `serde_json` libraries. The `serde` library provides a way for high-performance serialization, and `serde_json` is a `serde` format for handling `JSON` data. The library provides mechanisms for converting between `Rust` data structures and `JSON`. This includes the ability to parse `JSON` data from strings or files, serialize `Rust` data structures to `JSON`, and manipulate `JSON` values directly. \ No newline at end of file +`JSON` (JavaScript Object Notation) is a lightweight data-interchange format that is used to store and exchange data. In `Rust`, you can work with `JSON` data using the `serde` and `serde_json` libraries. The `serde` library provides a way for high-performance serialization, and `serde_json` is a `serde` format for handling `JSON` data. The library provides mechanisms for converting between `Rust` data structures and `JSON`. This includes the ability to parse `JSON` data from strings or files, serialize `Rust` data structures to `JSON`, and manipulate `JSON` values directly. + +Visit the following resources to learn more: + +- [Docs.rs: JSON](https://docs.rs/json/latest/json/) diff --git a/src/data/roadmaps/rust/content/111-serialization/102-toml-rs.md b/src/data/roadmaps/rust/content/111-serialization/102-toml-rs.md index c9e217c05..df7d56397 100644 --- a/src/data/roadmaps/rust/content/111-serialization/102-toml-rs.md +++ b/src/data/roadmaps/rust/content/111-serialization/102-toml-rs.md @@ -1,3 +1,7 @@ # toml-rs -`toml-rs` is a library in Rust designed to parse and serialize TOML documents. TOML, which stands for Tom's Obvious, Minimal Language, is a straightforward and easy-to-read format often used for configuration files. The `toml-rs` library provides functionalities to convert between TOML documents and Rust structures. It heavily uses Rust's powerful trait system and type inference, to parse a TOML document into Rust's static types for further manipulation. Moreover, by making use of the 'serde' library, it enables automatic serialization and deserialization between TOML and Rust types. \ No newline at end of file +`toml-rs` is a library in Rust designed to parse and serialize TOML documents. TOML, which stands for Tom's Obvious, Minimal Language, is a straightforward and easy-to-read format often used for configuration files. The `toml-rs` library provides functionalities to convert between TOML documents and Rust structures. It heavily uses Rust's powerful trait system and type inference, to parse a TOML document into Rust's static types for further manipulation. Moreover, by making use of the 'serde' library, it enables automatic serialization and deserialization between TOML and Rust types. + +Visit the following resources to learn more: + +- [Docs.rs: TOML](https://docs.rs/toml/latest/toml/)