From 104e3ba3f385b244de4fd2872a5161bb4025bfe8 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Thu, 24 Apr 2025 13:50:34 +0200 Subject: [PATCH] update rust --- technology/dev/programming/languages/Rust.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/technology/dev/programming/languages/Rust.md b/technology/dev/programming/languages/Rust.md index 108a840..d48ac54 100644 --- a/technology/dev/programming/languages/Rust.md +++ b/technology/dev/programming/languages/Rust.md @@ -231,6 +231,8 @@ fn do_something() { } ``` +> **Note**: If you ever need to guard your code from an overly aggressive `cargo fmt`, you can annotate it with `#[rustfmt::skip]` + ### Modules You can split your code up into multiple modules for better organization. ```rust @@ -1009,6 +1011,9 @@ Currently, all supported targets follow the assembly code syntax used by LLVM's - [serde_json](https://lib.rs/crates/serde_json): A [JSON](../../../files/JSON.md) serialization file format - [serde_jsonc](https://lib.rs/crates/serde_jsonc): A JSON serialization file format - [serde_yaml](https://lib.rs/crates/serde_yaml): [YAML](../../../files/YAML.md) data format for Serde +- [rmp_serde](https://lib.rs/crates/rmp-serde): MsgPack format for serde +- [rmpv](https://lib.rs/crates/rmpv): MsgPack value variants (`serde_json::Value` for MsgPack) +- [rmp](https://lib.rs/crates/rmp): low level msgpack implementation - [bson](https://lib.rs/crates/bson): Encoding and decoding support for [BSON](../../../files/BSON.md) in Rust - [toml](https://lib.rs/crates/toml): A native Rust encoder and decoder of [TOML](../../../files/TOML.md)-formatted files and streams. - [gray_matter](https://lib.rs/crates/gray_matter): Smart front matter parser. An implementation of gray-matter in rust. Parses YAML, JSON, TOML and support for custom parsers.