Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them.
Page: /drakestapleton/aienux/blob/main/vendor/serde_derive/README.md
# aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
Sign in to star 0 stars 0 watching
About Files History Releases Proposed changes Issues For developers
branch `main` Branches Tags History
`aienux / vendor / serde_derive / README.md`
114 lines ยท 4358 bytes Raw Blame History Rendered
1 # Serde [![Build Status]][actions] [![Latest Version]][crates.io] [![serde msrv]][Rust 1.56] [![serde_derive msrv]][Rust 1.71]
2
3 [Build Status]: https://img.shields.io/github/actions/workflow/status/serde-rs/serde/ci.yml?branch=master
4 [actions]: https://github.com/serde-rs/serde/actions?query=branch%3Amaster
5 [Latest Version]: https://img.shields.io/crates/v/serde.svg
6 [crates.io]: https://crates.io/crates/serde
7 [serde msrv]: https://img.shields.io/crates/msrv/serde.svg?label=serde%20msrv&color=lightgray
8 [serde_derive msrv]: https://img.shields.io/crates/msrv/serde_derive.svg?label=serde_derive%20msrv&color=lightgray
9 [Rust 1.56]: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0/
10 [Rust 1.71]: https://blog.rust-lang.org/2023/07/13/Rust-1.71.0/
11
12 **Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and generically.**
13
14 ---
15
16 You may be looking for:
17
18 - [An overview of Serde](https://serde.rs)
19 - [Data formats supported by Serde](https://serde.rs/#data-formats)
20 - [Setting up `#[derive(Serialize, Deserialize)]`](https://serde.rs/derive.html)
21 - [Examples](https://serde.rs/examples.html)
22 - [API documentation](https://docs.rs/serde)
23 - [Release notes](https://github.com/serde-rs/serde/releases)
24
25 ## Serde in action
26
27
29 Click to show Cargo.toml.
30 Run this code in the playground.
31
32
33 ```toml
34 [dependencies]
35
36 # The core APIs, including the Serialize and Deserialize traits. Always
37 # required when using Serde. The "derive" feature is only required when
38 # using #[derive(Serialize, Deserialize)] to make Serde work with structs
39 # and enums defined in your crate.
40 serde = { version = "1.0", features = ["derive"] }
41
42 # Each data format lives in its own crate; the sample code below uses JSON
43 # but you may be using a different one.
44 serde_json = "1.0"
45 ```
46
47