GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs.rs
  • serde_derive-1.0.97
  • About docs.rs
  • Badges
  • Builds
  • Metadata
  • Shorthand URLs
  • Download
  • Rustdoc JSON
  • Build queue
  • Privacy policy
  • Rust website
  • The Book
  • Standard Library API Reference

This view

  • Original page
  • New address

GeezerVison is showing docs.rs — serde_derive 1.0.97 - Docs.rs

serde_derive 1.0.97

Macros 1.1 implementation of #[derive(Serialize, Deserialize)]
  • Crate
  • Source
  • Builds
  • Feature flags
Documentation
  • Ø build duration
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • serde-rs/serde
    10973 1080 321
  • crates.io
  • Dependencies
    • proc-macro2 ^0.4 normal
    • quote ^0.6.3 normal
    • syn ^0.15.22 normal
    • serde ^1.0 dev
  • Versions
    • 1.0.229 (2026-07-18)
    • 1.0.228 (2025-09-27)
    • 1.0.227 (2025-09-25)
    • 1.0.226 (2025-09-20)
    • 1.0.225 (2025-09-16)
    • 1.0.224 (2025-09-15)
    • 1.0.223 (2025-09-14)
    • 1.0.222 (2025-09-14)
    • 1.0.221 (2025-09-14)
    • 1.0.220 (2025-09-13)
    • 1.0.219 (2025-03-09)
    • 1.0.218 (2025-02-20)
    • 1.0.217 (2024-12-27)
    • 1.0.216 (2024-12-11)
    • 1.0.215 (2024-11-11)
    • 1.0.214 (2024-10-28)
    • 1.0.213 (2024-10-22)
    • 1.0.212 (2024-10-22)
    • 1.0.211 (2024-10-22)
    • 1.0.210 (2024-09-06)
    • 1.0.209 (2024-08-24)
    • 1.0.208 (2024-08-15)
    • 1.0.207 (2024-08-12)
    • 1.0.206 (2024-08-11)
    • 1.0.205 (2024-08-08)
    • 1.0.204 (2024-07-06)
    • 1.0.203 (2024-05-25)
    • 1.0.202 (2024-05-15)
    • 1.0.201 (2024-05-08)
    • 1.0.200 (2024-05-01)
    • 1.0.199 (2024-04-27)
    • 1.0.198 (2024-04-16)
    • 1.0.197 (2024-02-20)
    • 1.0.196 (2024-01-26)
    • 1.0.195 (2024-01-06)
    • 1.0.194 (2024-01-02)
    • 1.0.193 (2023-11-21)
    • 1.0.192 (2023-11-07)
    • 1.0.191 (2023-11-06)
    • 1.0.190 (2023-10-26)
    • 1.0.189 (2023-10-13)
    • 1.0.188 (2023-08-26)
    • 1.0.187 (2023-08-25)
    • 1.0.186 (2023-08-24)
    • 1.0.185 (2023-08-21)
    • 1.0.184 (2023-08-21)
    • 1.0.183 (2023-08-07)
    • 1.0.182 (2023-08-06)
    • 1.0.181 (2023-08-03)
    • 1.0.180 (2023-07-31)
    • 1.0.179 (2023-07-31)
    • 1.0.178 (2023-07-28)
    • 1.0.177 (2023-07-27)
    • 1.0.176 (2023-07-26)
    • 1.0.175 (2023-07-24)
    • 1.0.174 (2023-07-21)
    • 1.0.173 (2023-07-19)
    • 1.0.172 (2023-07-19)
    • 1.0.172-alpha.0 (2023-07-19)
    • 1.0.171 (2023-07-10)
    • 1.0.170 (2023-07-09)
    • 1.0.169 (2023-07-09)
    • 1.0.168 (2023-07-09)
    • 1.0.167 (2023-07-06)
    • 1.0.166 (2023-07-03)
    • 1.0.165 (2023-07-03)
    • 1.0.164 (2023-06-08)
    • 1.0.163 (2023-05-10)
    • 1.0.162 (2023-05-05)
    • 1.0.161 (2023-05-04)
    • 1.0.160 (2023-04-11)
    • 1.0.159 (2023-03-28)
    • 1.0.158 (2023-03-20)
    • 1.0.157 (2023-03-18)
    • 1.0.156 (2023-03-14)
    • 1.0.155 (2023-03-11)
    • 1.0.154 (2023-03-08)
    • 1.0.153 (2023-03-07)
    • 1.0.152 (2022-12-26)
    • 1.0.151 (2022-12-16)
    • 1.0.150 (2022-12-12)
    • 1.0.149 (2022-12-05)
    • 1.0.148 (2022-11-28)
    • 1.0.147 (2022-10-21)
    • 1.0.146 (2022-10-21)
    • 1.0.145 (2022-09-22)
    • 1.0.144 (2022-08-21)
    • 1.0.143 (2022-08-09)
    • 1.0.142 (2022-08-03)
    • 1.0.141 (2022-08-01)
    • 1.0.140 (2022-07-20)
    • 1.0.139 (2022-07-11)
    • 1.0.138 (2022-07-02)
    • 1.0.137 (2022-05-01)
    • 1.0.136 (2022-01-25)
    • 1.0.135 (2022-01-23)
    • 1.0.134 (2022-01-21)
    • 1.0.133 (2022-01-01)
    • 1.0.132 (2021-12-16)
    • 1.0.131 (2021-12-09)
    • 1.0.130 (2021-08-28)
    • 1.0.129 (2021-08-23)
    • 1.0.128 (2021-08-21)
    • 1.0.127 (2021-07-31)
    • 1.0.126 (2021-05-12)
    • 1.0.125 (2021-03-22)
    • 1.0.124 (2021-03-06)
    • 1.0.123 (2021-01-25)
    • 1.0.122 (2021-01-25)
    • 1.0.121 (2021-01-23)
    • 1.0.120 (2021-01-19)
    • 1.0.119 (2021-01-11)
    • 1.0.118 (2020-12-05)
    • 1.0.117 (2020-10-15)
    • 1.0.116 (2020-09-11)
    • 1.0.115 (2020-08-10)
    • 1.0.114 (2020-06-22)
    • 1.0.113 (2020-06-19)
    • 1.0.112 (2020-06-14)
    • 1.0.111 (2020-05-30)
    • 1.0.110 (2020-05-10)
    • 1.0.109 (2020-05-10)
    • 1.0.108 (2020-05-10)
    • 1.0.107 (2020-05-08)
    • 1.0.106 (2020-04-03)
    • 1.0.105 (2020-03-18)
    • 1.0.104 (2019-12-16)
    • 1.0.103 (2019-11-25)
    • 1.0.102 (2019-10-27)
    • 1.0.101 (2019-09-16)
    • 1.0.100 (2019-09-08)
    • 1.0.99 (2019-08-16)
    • 1.0.98 (2019-07-28)
    • 1.0.97 (2019-07-17)
    • 1.0.96 (2019-07-17)
    • 1.0.95 (2019-07-16)
    • 1.0.94 (2019-06-27)
    • 1.0.93 (2019-06-23)
    • 1.0.92 (2019-05-31)
    • 1.0.91 (2019-05-06)
    • 1.0.90 (2019-04-03)
    • 1.0.89 (2019-03-01)
    • 1.0.88 (2019-02-16)
    • 1.0.87 (2019-02-04)
    • 1.0.86 (2019-02-02)
    • 1.0.85 (2019-01-19)
    • 1.0.84 (2019-01-01)
    • 1.0.83 (2018-12-28)
    • 1.0.82 (2018-12-11)
    • 1.0.81 (2018-12-08)
    • 1.0.80 (2018-10-14)
    • 1.0.79 (2018-09-15)
    • 1.0.78 (2018-09-09)
    • 1.0.77 (2018-09-07)
    • 1.0.76 (2018-09-01)
    • 1.0.75 (2018-08-25)
    • 1.0.74 (2018-08-23)
    • 1.0.73 (2018-08-23)
    • 1.0.72 (2018-08-21)
    • 1.0.71 (2018-08-07)
    • 1.0.70 (2018-07-07)
    • 1.0.69 (2018-07-01)
    • 1.0.68 (2018-06-28)
    • 1.0.67 (2018-06-27)
    • 1.0.66 (2018-06-03)
    • 1.0.65 (2018-06-01)
    • 1.0.64 (2018-05-30)
    • 1.0.63 (2018-05-29)
    • 1.0.62 (2018-05-27)
    • 1.0.61 (2018-05-26)
    • 1.0.60 (2018-05-25)
    • 1.0.59 (2018-05-21)
    • 1.0.58 (2018-05-20)
    • 1.0.57 (2018-05-19)
    • 1.0.56 (2018-05-18)
    • 1.0.55 (2018-05-12)
    • 1.0.54 (2018-05-12)
    • 1.0.53 (2018-05-10)
    • 1.0.52 (2018-05-09)
    • 1.0.51 (2018-05-08)
    • 1.0.50 (2018-05-07)
    • 1.0.49 (2018-05-07)
    • 1.0.48 (2018-05-07)
    • 1.0.47 (2018-05-07)
    • 1.0.46 (2018-05-06)
    • 1.0.45 (2018-05-02)
    • 1.0.44 (2018-05-02)
    • 1.0.43 (2018-04-23)
    • 1.0.42 (2018-04-21)
    • 1.0.41 (2018-04-20)
    • 1.0.40 (2018-04-19)
    • 1.0.39 (2018-04-17)
    • 1.0.38 (2018-04-15)
    • 1.0.37 (2018-04-02)
    • 1.0.36 (2018-03-27)
    • 1.0.35 (2018-03-25)
    • 1.0.34 (2018-03-22)
    • 1.0.33 (2018-03-15)
    • 1.0.32 (2018-03-13)
    • 1.0.31 (2018-03-13)
    • 1.0.30 (2018-03-12)
    • 1.0.29 (2018-03-09)
    • 1.0.28 (2018-03-08)
    • 1.0.27 (2017-12-31)
    • 1.0.26 (2017-12-27)
    • 1.0.25 (2017-12-24)
    • 1.0.24 (2017-12-09)
    • 1.0.23 (2017-11-30)
    • 1.0.22 (2017-11-30)
    • 1.0.21 (2017-11-16)
    • 1.0.20 (2017-11-12)
    • 1.0.19 (2017-11-07)
    • 1.0.18 (2017-11-03)
    • 1.0.17 (2017-10-31)
    • 1.0.16 (2017-10-22)
    • 1.0.15 (2017-09-17)
    • 1.0.14 (2017-09-09)
    • 1.0.13 (2017-09-09)
    • 1.0.12 (2017-09-04)
    • 1.0.11 (2017-07-27)
    • 1.0.10 (2017-07-12)
    • 1.0.9 (2017-06-30)
    • 1.0.8 (2017-05-24)
    • 1.0.7 (2017-05-20)
    • 1.0.6 (2017-05-17)
    • 1.0.5 (2017-05-14)
    • 1.0.4 (2017-05-11)
    • 1.0.3 (2017-05-10)
    • 1.0.2 (2017-04-27)
    • 1.0.1 (2017-04-23)
    • 1.0.0 (2017-04-20)
    • 0.9.15 (2017-04-23)
    • 0.9.14 (2017-04-17)
    • 0.9.13 (2017-04-05)
    • 0.9.12 (2017-03-27)
    • 0.9.11 (2017-03-06)
    • 0.9.10 (2017-02-28)
    • 0.9.9 (2017-02-24)
    • 0.9.8 (2017-02-21)
    • 0.9.7 (2017-02-10)
    • 0.9.6 (2017-02-03)
    • 0.9.5 (2017-02-01)
    • 0.9.4 (2017-01-31)
    • 0.9.3 (2017-01-31)
    • 0.9.2 (2017-01-28)
    • 0.9.1 (2017-01-25)
    • 0.9.0 (2017-01-25)
    • 0.9.0-rc4 (2017-01-25)
    • 0.9.0-rc3 (2017-01-24)
    • 0.9.0-rc2 (2017-01-22)
    • 0.9.0-rc1 (2017-01-15)
    • 0.8.23 (2017-01-20)
    • 0.8.22 (2017-01-11)
    • 0.8.21 (2016-12-24)
    • 0.8.20 (2016-12-16)
    • 0.8.19 (2016-11-23)
    • 0.8.18 (2016-11-19)
    • 0.8.17 (2016-11-02)
    • 0.8.16 (2016-10-22)
    • 0.8.15 (2016-10-20)
    • 0.8.14 (2016-10-19)
    • 0.8.13 (2016-10-16)
    • 0.8.12 (2016-10-08)
    • 0.8.11 (2016-10-03)
    • 0.8.10 (2016-09-28)
    • 0.8.10-rc1 (2016-09-28)
    • 0.8.9 (2016-09-21)
    • 0.8.8 (2016-09-08)
    • 0.8.7 (2016-09-05)
    • 0.8.6 (2016-09-02)
    • 0.8.4 (2016-08-29)
  • Owners
  • dtolnay github:serde-rs:publish

Serde is a framework for serializing and deserializing Rust data structures efficiently and generically.


You may be looking for:

  • An overview of Serde
  • Data formats supported by Serde
  • Setting up #[derive(Serialize, Deserialize)]
  • Examples
  • API documentation
  • Release notes

Serde in action

use serde::{Serialize, Deserialize};

#[derive(Serialize, Deserialize, Debug)]
struct Point {
    x: i32,
    y: i32,
}

fn main() {
    let point = Point { x: 1, y: 2 };

    // Convert the Point to a JSON string.
    let serialized = serde_json::to_string(&point).unwrap();

    // Prints serialized = {"x":1,"y":2}
    println!("serialized = {}", serialized);

    // Convert the JSON string back to a Point.
    let deserialized: Point = serde_json::from_str(&serialized).unwrap();

    // Prints deserialized = Point { x: 1, y: 2 }
    println!("deserialized = {:?}", deserialized);
}

Getting help

Serde developers live in the #serde channel on irc.mozilla.org. The #rust channel is also a good resource with generally faster response time but less specific knowledge about Serde. If IRC is not your thing or you don't get a good response, we are happy to respond to GitHub issues as well.

You are visitor 01402605 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.