1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
//! This is a dummy package to test //! [[package.metadata.docs.rs]](https://github.com/onur/docs.rs/pull/73). /// This function is only available on feature1 #[cfg(feature="feature1")] pub fn feature1() {} /// This function is only available on feature2 #[cfg(feature="feature2")] pub fn feature2() {} /// This function is only available on feature3 #[cfg(feature="feature3")] pub fn feature3() {} /// This function is only available on i686 unix systems #[cfg(all(unix, target_pointer_width = "32"))] pub fn i386_only_func() {}