Merge remote-tracking branch 'remotes/origin/v0.6.x'
This commit is contained in:
commit
c03587f0bf
@ -10,7 +10,8 @@ readme = "../README.md"
|
|||||||
keywords = ["serde", "serialization"]
|
keywords = ["serde", "serialization"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
nightly-testing = ["clippy"]
|
nightly = []
|
||||||
|
nightly-testing = ["clippy", "nightly"]
|
||||||
num-bigint = ["num/bigint"]
|
num-bigint = ["num/bigint"]
|
||||||
num-complex = ["num/complex"]
|
num-complex = ["num/complex"]
|
||||||
num-impls = ["num-bigint", "num-complex", "num-rational"]
|
num-impls = ["num-bigint", "num-complex", "num-rational"]
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
#![doc(html_root_url="https://serde-rs.github.io/serde/serde")]
|
#![doc(html_root_url="https://serde-rs.github.io/serde/serde")]
|
||||||
#![cfg_attr(feature = "nightly", feature(collections, enumset, nonzero, plugin, step_trait,
|
#![cfg_attr(feature = "nightly", feature(collections, enumset, nonzero, plugin, step_trait,
|
||||||
zero_one))]
|
zero_one))]
|
||||||
#![cfg_attr(feature = "nightly", plugin(clippy))]
|
#![cfg_attr(feature = "nightly-testing", plugin(clippy))]
|
||||||
#![cfg_attr(feature = "nightly", allow(linkedlist))]
|
#![cfg_attr(feature = "nightly-testing", allow(linkedlist))]
|
||||||
|
|
||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
|
|
||||||
|
@ -330,7 +330,7 @@ pub trait Serializer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A trait that is used by a `Serialize` to iterate through a sequence.
|
/// A trait that is used by a `Serialize` to iterate through a sequence.
|
||||||
#[cfg_attr(feature = "nightly", allow(len_without_is_empty))]
|
#[cfg_attr(feature = "nightly-testing", allow(len_without_is_empty))]
|
||||||
pub trait SeqVisitor {
|
pub trait SeqVisitor {
|
||||||
/// Serializes a sequence item in the serializer.
|
/// Serializes a sequence item in the serializer.
|
||||||
///
|
///
|
||||||
@ -347,7 +347,7 @@ pub trait SeqVisitor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A trait that is used by a `Serialize` to iterate through a map.
|
/// A trait that is used by a `Serialize` to iterate through a map.
|
||||||
#[cfg_attr(feature = "nightly", allow(len_without_is_empty))]
|
#[cfg_attr(feature = "nightly-testing", allow(len_without_is_empty))]
|
||||||
pub trait MapVisitor {
|
pub trait MapVisitor {
|
||||||
/// Serializes a map item in the serializer.
|
/// Serializes a map item in the serializer.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user