Home
last modified time | relevance | path

Searched refs:serde (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/external/rust/crates/serde_test/
DCargo.toml.orig7 homepage = "https://serde.rs"
8 repository = "https://github.com/serde-rs/serde"
9 documentation = "https://docs.serde.rs/serde_test/"
10 keywords = ["serde", "serialization"]
15 serde = { version = "1.0.60", path = "../serde" }
18 serde = { version = "1.0", path = "../serde" }
DREADME.md1 # Serde   [![Build Status]][actions] [![Latest Version]][crates.io] [![serde: rustc 1.13+]][Ru…
3 [Build Status]: https://img.shields.io/github/workflow/status/serde-rs/serde/CI/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: rustc 1.13+]: https://img.shields.io/badge/serde-rustc_1.13+-lightgray.svg
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)
[all …]
DCargo.toml19 homepage = "https://serde.rs"
20 documentation = "https://docs.serde.rs/serde_test/"
22 keywords = ["serde", "serialization"]
24 repository = "https://github.com/serde-rs/serde"
27 [dependencies.serde]
29 [dev-dependencies.serde]
/external/rust/crates/serde/
DREADME.md1 # Serde   [![Build Status]][actions] [![Latest Version]][crates.io] [![serde: rustc 1.13+]][Ru…
3 [Build Status]: https://img.shields.io/github/workflow/status/serde-rs/serde/CI/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: rustc 1.13+]: https://img.shields.io/badge/serde-rustc_1.13+-lightgray.svg
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)
[all …]
DCargo.toml.orig2 name = "serde"
7 homepage = "https://serde.rs"
8 repository = "https://github.com/serde-rs/serde"
9 documentation = "https://docs.serde.rs/serde/"
10 keywords = ["serde", "serialization", "no_std"]
44 # https://github.com/serde-rs/serde/issues/812
DCargo.toml14 name = "serde"
20 homepage = "https://serde.rs"
21 documentation = "https://docs.serde.rs/serde/"
23 keywords = ["serde", "serialization", "no_std"]
26 repository = "https://github.com/serde-rs/serde"
DMETADATA1 name: "serde"
6 value: "https://crates.io/crates/serde"
10 value: "https://static.crates.io/crates/serde/serde-1.0.125.crate"
/external/rust/crates/serde_derive/
DREADME.md1 # Serde   [![Build Status]][actions] [![Latest Version]][crates.io] [![serde: rustc 1.13+]][Ru…
3 [Build Status]: https://img.shields.io/github/workflow/status/serde-rs/serde/CI/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: rustc 1.13+]: https://img.shields.io/badge/serde-rustc_1.13+-lightgray.svg
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)
[all …]
DCargo.toml.orig7 homepage = "https://serde.rs"
8 repository = "https://github.com/serde-rs/serde"
9 documentation = "https://serde.rs/derive.html"
10 keywords = ["serde", "serialization", "no_std"]
28 serde = { version = "1.0", path = "../serde" }
DCargo.toml19 homepage = "https://serde.rs"
20 documentation = "https://serde.rs/derive.html"
22 keywords = ["serde", "serialization", "no_std"]
24 repository = "https://github.com/serde-rs/serde"
39 [dev-dependencies.serde]
/external/rust/crates/serde_cbor/src/
Dtags.rs4 use serde::de::{
7 use serde::forward_to_deserialize_any;
8 use serde::ser::{Serialize, Serializer};
45 fn $name<E: serde::de::Error>(self, v: $type) -> Result<Self::Value, E>
75 E: serde::de::Error,
94 E: serde::de::Error,
144 fn visit_bytes<E: serde::de::Error>(self, value: &[u8]) -> Result<Self::Value, E> { in visit_bytes()
148 fn visit_borrowed_bytes<E: serde::de::Error>(self, value: &'de [u8]) -> Result<Self::Value, E> { in visit_borrowed_bytes()
149 T::deserialize(serde::de::value::BorrowedBytesDeserializer::new(value)).map(untagged) in visit_borrowed_bytes()
152 fn visit_unit<E: serde::de::Error>(self) -> Result<Self::Value, E> { in visit_unit()
[all …]
/external/rust/crates/serde_cbor/src/value/
Dser.rs12 use serde::{self, Serialize};
17 impl serde::Serialize for Value {
21 S: serde::Serializer, in serialize()
40 impl serde::Serializer for Serializer {
271 impl serde::ser::SerializeSeq for SerializeVec {
288 impl serde::ser::SerializeTuple for SerializeVec {
296 serde::ser::SerializeSeq::serialize_element(self, value) in serialize_element()
300 serde::ser::SerializeSeq::end(self) in end()
304 impl serde::ser::SerializeTupleStruct for SerializeVec {
312 serde::ser::SerializeSeq::serialize_element(self, value) in serialize_field()
[all …]
/external/rust/crates/protobuf/src/
Dsingular.rs2 use serde;
507 impl<T: serde::Serialize> serde::Serialize for SingularPtrField<T> {
511 ) -> Result<<S as serde::Serializer>::Ok, <S as serde::Serializer>::Error> in serialize()
513 S: serde::Serializer, in serialize()
520 impl<T: serde::Serialize> serde::Serialize for SingularField<T> {
524 ) -> Result<<S as serde::Serializer>::Ok, <S as serde::Serializer>::Error> in serialize()
526 S: serde::Serializer, in serialize()
533 impl<'de, T: serde::Deserialize<'de>> serde::Deserialize<'de> for SingularPtrField<T> {
534 fn deserialize<D>(deserializer: D) -> Result<Self, <D as serde::Deserializer<'de>>::Error> in deserialize()
536 D: serde::Deserializer<'de>, in deserialize()
[all …]
/external/rust/crates/serde_json/
DREADME.md3 [Build Status]: https://img.shields.io/github/workflow/status/serde-rs/json/CI/master
4 [travis]: https://github.com/serde-rs/json/actions?query=branch%3Amaster
6 [crates.io]: https://crates.io/crates/serde\_json
21 - [JSON API documentation](https://docs.serde.rs/serde_json/)
22 - [Serde API documentation](https://docs.serde.rs/serde/)
23 - [Detailed documentation about Serde](https://serde.rs/)
24 - [Setting up `#[derive(Serialize, Deserialize)]`](https://serde.rs/derive.html)
25 - [Release notes](https://github.com/serde-rs/json/releases)
85 <img align="right" width="50" src="https://raw.githubusercontent.com/serde-rs/serde-rs.github.io/ma…
128 [`as_str()`]: https://docs.serde.rs/serde_json/enum.Value.html#method.as_str
[all …]
DCargo.toml20 documentation = "https://docs.serde.rs/serde_json/"
22 keywords = ["json", "serde", "serialization"]
25 repository = "https://github.com/serde-rs/json"
43 [dependencies.serde]
66 alloc = ["serde/alloc"]
72 std = ["serde/std"]
/external/rust/crates/serde_cbor/
DCargo.toml.orig10 description = "CBOR support for serde."
11 keywords = ["serde", "cbor", "serialization", "no_std"]
21 serde = { version = "1.0.14", default-features = false }
30 alloc = ["serde/alloc"]
31 std = ["serde/std" ]
DCargo.toml18 description = "CBOR support for serde."
20 keywords = ["serde", "cbor", "serialization", "no_std"]
27 [dependencies.serde]
35 alloc = ["serde/alloc"]
37 std = ["serde/std"]
/external/rust/crates/protobuf/src/well_known_types/
Dwrappers.rs23 #[cfg_attr(feature = "with-serde", derive(::serde::Serialize, ::serde::Deserialize))]
28 #[cfg_attr(feature = "with-serde", serde(skip))]
30 #[cfg_attr(feature = "with-serde", serde(skip))]
178 #[cfg_attr(feature = "with-serde", derive(::serde::Serialize, ::serde::Deserialize))]
183 #[cfg_attr(feature = "with-serde", serde(skip))]
185 #[cfg_attr(feature = "with-serde", serde(skip))]
333 #[cfg_attr(feature = "with-serde", derive(::serde::Serialize, ::serde::Deserialize))]
338 #[cfg_attr(feature = "with-serde", serde(skip))]
340 #[cfg_attr(feature = "with-serde", serde(skip))]
488 #[cfg_attr(feature = "with-serde", derive(::serde::Serialize, ::serde::Deserialize))]
[all …]
/external/rust/crates/serde_json/src/value/
Dde.rs7 use serde::de::{
11 use serde::{forward_to_deserialize_any, serde_if_integer128};
20 D: serde::Deserializer<'de>, in deserialize()
55 E: serde::de::Error, in deserialize()
74 D: serde::Deserializer<'de>, in deserialize()
177 Err(serde::de::Error::invalid_length( in visit_array()
195 Err(serde::de::Error::invalid_length( in visit_object()
202 impl<'de> serde::Deserializer<'de> for Value {
264 return Err(serde::de::Error::invalid_value( in deserialize_enum()
272 return Err(serde::de::Error::invalid_value( in deserialize_enum()
[all …]
Dser.rs6 use serde::ser::{Impossible, Serialize};
9 use serde::serde_if_integer128;
15 S: ::serde::Serializer, in serialize()
25 use serde::ser::SerializeMap; in serialize()
58 impl serde::Serializer for Serializer {
305 impl serde::ser::SerializeSeq for SerializeVec {
322 impl serde::ser::SerializeTuple for SerializeVec {
330 serde::ser::SerializeSeq::serialize_element(self, value) in serialize_element()
334 serde::ser::SerializeSeq::end(self) in end()
338 impl serde::ser::SerializeTupleStruct for SerializeVec {
[all …]
/external/rust/crates/uuid/src/adapter/
Dcompact.rs11 S: serde::Serializer, in serialize()
13 serde::Serialize::serialize(u.as_bytes(), serializer) in serialize()
21 D: serde::Deserializer<'de>, in deserialize()
23 let bytes: [u8; 16] = serde::Deserialize::deserialize(deserializer)?; in deserialize()
39 #[serde(with = "super")] in test_serialize_compact()
/external/rust/crates/lock_api/
DCargo.toml.orig16 # Optional dependency for supporting serde. Optional crates automatically
17 # create a feature with the same name as the crate, so if you need serde
18 # support, just pass "--features serde" when building this crate.
19 serde = { version = "1.0.114", default-features = false, optional = true }
/external/rust/crates/log/
DCargo.toml.orig19 features = ["std", "serde", "kv_unstable_std", "kv_unstable_sval", "kv_unstable_serde"]
53 kv_unstable_serde = ["kv_unstable_std", "value-bag/serde", "serde"]
57 serde = { version = "1.0", optional = true, default-features = false }
62 serde = { version = "1.0", features = ["derive"] }
/external/rust/crates/csv/
DCargo.toml.orig5 description = "Fast CSV parsing with support for serde."
10 keywords = ["csv", "comma", "parser", "delimited", "serde"]
31 serde = "1.0.55"
34 serde = { version = "1.0.55", features = ["derive"] }
/external/rust/crates/half/
DCargo.toml.orig22 serialize = ["serde"] # Deprecated. Use serde directly.
31 [dependencies.serde]
43 features = ["std", "serde", "bytemuck", "num-traits"]

12345678910>>...13