]> git.lizzy.rs Git - rust.git/blob - src/libserialize/lib.rs
Register new snapshots
[rust.git] / src / libserialize / lib.rs
1 // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 //! Support code for encoding and decoding types.
12
13 /*
14 Core encoding and decoding interfaces.
15 */
16
17 #[crate_id = "serialize#0.10-pre"];
18 #[crate_type = "rlib"];
19 #[crate_type = "dylib"];
20 #[license = "MIT/ASL2"];
21 #[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
22       html_favicon_url = "http://www.rust-lang.org/favicon.ico",
23       html_root_url = "http://static.rust-lang.org/doc/master")];
24 #[feature(macro_rules, managed_boxes, default_type_params, phase)];
25 #[allow(deprecated_owned_vector)]; // NOTE: remove after stage0
26
27 // test harness access
28 #[cfg(test)]
29 extern crate test;
30 #[phase(syntax, link)]
31 extern crate log;
32
33 extern crate collections;
34
35 pub use self::serialize::{Decoder, Encoder, Decodable, Encodable,
36                           DecoderHelpers, EncoderHelpers};
37
38 mod serialize;
39 mod collection_impls;
40
41 pub mod base64;
42 pub mod ebml;
43 pub mod hex;
44 pub mod json;