1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#![crate_type = "lib"]
#![feature(doc_auto_cfg)]

/*!
Enable the feature <span class="stab portability"><code>some-feature</code></span> to enjoy this crate even more!
Enable the feature <span class="stab portability"><code>some-feature</code></span> to enjoy this crate even more!
Enable the feature <span class="stab portability"><code>some-feature</code></span> to enjoy this crate even more!

Also, stop using [`bar`] as it's <span class="stab deprecated" title="">deprecated</span>.
Also, stop using [`bar`] as it's <span class="stab deprecated" title="">deprecated</span>.
Also, stop using [`bar`] as it's <span class="stab deprecated" title="">deprecated</span>.

Finally, you can use [`quz`] only on <span class="stab portability"><code>Unix or x86-64</code></span>.
Finally, you can use [`quz`] only on <span class="stab portability"><code>Unix or x86-64</code></span>.
*/

/// Does fooish things.
#[cfg(feature = "some-feature")]
pub fn foo() {}

/// Does barish things.
#[deprecated(since = "0.1.0", note = "we don't need this anymore")]
pub fn bar() {}

/// Does quzish things.
#[cfg(any(unix, target_arch = "x86_64"))]
pub fn quz() {}