/src/lib.rs
https://gitlab.com/Fraser999/DataName · Rust · 35 lines · 29 code · 5 blank · 1 comment · 0 complexity · a4737e01dcfb477efc5a420e8db12610 MD5 · raw file
- //! Comparison of alternative implementations of `ImmutableData`.
- #![forbid(bad_style, exceeding_bitshifts, mutable_transmutes, no_mangle_const_items,
- unknown_crate_types, warnings)]
- #![deny(deprecated, drop_with_repr_extern, improper_ctypes, non_shorthand_field_patterns,
- overflowing_literals, plugin_as_library, private_no_mangle_fns, private_no_mangle_statics,
- stable_features, unconditional_recursion, unknown_lints, unsafe_code, unused,
- unused_allocation, unused_attributes, unused_comparisons, unused_features, unused_parens,
- while_true)]
- #![warn(trivial_casts, trivial_numeric_casts, unused_extern_crates, unused_import_braces,
- unused_qualifications, unused_results)]
- #![allow(box_pointers, fat_ptr_transmutes, missing_copy_implementations,
- missing_debug_implementations, missing_docs, variant_size_differences)]
- #![cfg_attr(feature="clippy", feature(plugin))]
- #![cfg_attr(feature="clippy", plugin(clippy))]
- #![cfg_attr(feature="clippy", deny(clippy, clippy_pedantic))]
- #![cfg_attr(feature="clippy", allow(print_stdout, use_debug))]
- #[macro_use]
- extern crate maidsafe_utilities;
- extern crate rand;
- extern crate rustc_serialize;
- extern crate sodiumoxide;
- extern crate xor_name;
- mod existing;
- mod lazy;
- mod minimal;
- mod safe;
- pub use existing::ImmutableData;
- pub use lazy::Lazy;
- pub use minimal::Minimal;
- pub use safe::Safe;