Fix build, add a comment.
This commit is contained in:
parent
c1a850f1f1
commit
c1233bbfdf
2 changed files with 4 additions and 2 deletions
|
@ -90,7 +90,7 @@ extern crate ref_slice;
|
||||||
extern crate serde;
|
extern crate serde;
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
#[cfg(test)]
|
#[cfg(all(test, feature = "typed"))]
|
||||||
extern crate serde_derive;
|
extern crate serde_derive;
|
||||||
|
|
||||||
#[cfg(feature = "typed")]
|
#[cfg(feature = "typed")]
|
||||||
|
@ -105,7 +105,7 @@ pub mod error;
|
||||||
#[allow(unused_imports)]
|
#[allow(unused_imports)]
|
||||||
use error::{Error, Result};
|
use error::{Error, Result};
|
||||||
|
|
||||||
#[cfg(feature = "typed")]
|
#[cfg(all(feature = "typed", feature = "use_std"))]
|
||||||
pub mod typed;
|
pub mod typed;
|
||||||
|
|
||||||
// ## use statements
|
// ## use statements
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
//! Sending and receiving structs serialized with serde.
|
//! Sending and receiving structs serialized with serde.
|
||||||
|
//!
|
||||||
|
//! This module currently requires `std`, the standard library.
|
||||||
|
|
||||||
use error::{Result};
|
use error::{Result};
|
||||||
use serde::Serialize;
|
use serde::Serialize;
|
||||||
|
|
Loading…
Reference in a new issue