| 1 | #![deny(clippy::correctness)] |
| 2 | #![deny(clippy::suspicious)] |
| 3 | #![deny(clippy::complexity)] |
| 4 | #![deny(clippy::perf)] |
| 5 | #![deny(clippy::style)] |
| 6 | #![warn(clippy::pedantic)] |
| 7 | #![cfg_attr(not(test), deny(clippy::unwrap_used))] |
| 8 | #![cfg_attr(not(test), deny(clippy::expect_used))] |
| 9 | #![deny(clippy::panic)] |
| 10 | #![warn(clippy::todo)] |
| 11 | #![deny(clippy::unimplemented)] |
| 12 | #![deny(clippy::unreachable)] |
| 13 | #![deny(unsafe_code)] |
| 14 | #![allow(clippy::missing_errors_doc)] // FIXME |
| 15 | #![warn(clippy::alloc_instead_of_core)] |
| 16 | #![warn(clippy::std_instead_of_alloc)] |
| 17 | #![warn(clippy::std_instead_of_core)] |
| 18 | #![doc = include_strrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/include_str!!("../README.md")] |
| 19 | #![doc(html_root_url = "https://docs.rs/ron/0.12.0")] |
| 20 | #![no_std] |
| 21 | |
| 22 | #[cfg(feature = "std")] |
| 23 | extern crate stdrust-analyzer cargo ron 0.12.0 std/; |
| 24 | |
| 25 | extern crate allocrust-analyzer cargo ron 0.12.0 alloc/; |
| 26 | |
| 27 | pub mod derust-analyzer cargo ron 0.12.0 de/; |
| 28 | pub mod serrust-analyzer cargo ron 0.12.0 ser/; |
| 29 | |
| 30 | pub mod errorrust-analyzer cargo ron 0.12.0 error/; |
| 31 | pub mod valuerust-analyzer cargo ron 0.12.0 value/; |
| 32 | |
| 33 | pub mod extensionsrust-analyzer cargo ron 0.12.0 extensions/; |
| 34 | |
| 35 | pub mod optionsrust-analyzer cargo ron 0.12.0 options/; |
| 36 | pub mod utilrust-analyzer cargo ron 0.12.0 util/; |
| 37 | |
| 38 | pub use derust-analyzer cargo ron 0.12.0 de/::{from_strrust-analyzer cargo ron 0.12.0 de/from_str()., Deserializerrust-analyzer cargo ron 0.12.0 de/Deserializer#}; |
| 39 | pub use errorrust-analyzer cargo ron 0.12.0 error/::{Errorrust-analyzer cargo ron 0.12.0 error/Error#, Resultrust-analyzer cargo ron 0.12.0 error/Result#}; |
| 40 | pub use optionsrust-analyzer cargo ron 0.12.0 options/::Optionsrust-analyzer cargo ron 0.12.0 options/Options#; |
| 41 | pub use serrust-analyzer cargo ron 0.12.0 ser/::{to_stringrust-analyzer cargo ron 0.12.0 ser/to_string()., Serializerrust-analyzer cargo ron 0.12.0 ser/Serializer#}; |
| 42 | pub use valuerust-analyzer cargo ron 0.12.0 value/::{Maprust-analyzer cargo ron 0.12.0 value/map/Map#, Numberrust-analyzer cargo ron 0.12.0 value/number/Number#, Valuerust-analyzer cargo ron 0.12.0 value/Value#}; |
| 43 | |
| 44 | mod parserust-analyzer cargo ron 0.12.0 parse/; |