lib.rs (436B)
1 //! Dummy crate that allows me to test how crates are published to docs.rs 2 //! 3 //! Do not use this. I tried to avoid "stealing" a useful crate name. 4 #![cfg_attr(docsrs, feature(doc_cfg))] 5 #![no_std] 6 /// Bar. 7 #[cfg_attr(docsrs, doc(cfg(feature = "bar")))] 8 #[cfg(feature = "bar")] 9 pub mod bar; 10 /// Foo. 11 #[cfg_attr(docsrs, doc(cfg(feature = "foo")))] 12 #[cfg(feature = "foo")] 13 pub mod foo; 14 /// A. 15 #[derive(Clone, Copy, Debug)] 16 pub struct A;