• Home
  • Raw
  • Download

Lines Matching +full:rust +full:- +full:src

4 [<img alt="github" src="https://img.shields.io/badge/github-dtolnay/rustversion-8da0cb?style=for-th…
5 [<img alt="crates.io" src="https://img.shields.io/crates/v/rustversion.svg?style=for-the-badge&colo…
6 [<img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-rustversion-66c2a5?style=for-the-badg…
7 [<img alt="build status" src="https://img.shields.io/github/workflow/status/dtolnay/rustversion/CI/…
13 [cfg]: https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg-attribute
14 [cfg_attr]: https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute
25 - <b>`#[rustversion::stable]`</b>
29 - <b>`#[rustversion::stable(1.34)]`</b>
33 - <b>`#[rustversion::beta]`</b>
37 - <b>`#[rustversion::nightly]`</b>
41 - <b>`#[rustversion::nightly(2019-01-01)]`</b>
45 - <b>`#[rustversion::since(1.34)]`</b>
50 - <b>`#[rustversion::since(2019-01-01)]`</b>
54 - <b>`#[rustversion::before(`</b><i>version or date</i><b>`)]`</b>
58 - <b>`#[rustversion::not(`</b><i>selector</i><b>`)]`</b>
62 - <b>`#[rustversion::any(`</b><i>selectors...</i><b>`)]`</b>
64 True if any of the comma-separated selectors is true; for example
67 - <b>`#[rustversion::all(`</b><i>selectors...</i><b>`)]`</b>
69 True if all of the comma-separated selectors are true; for example
72 - <b>`#[rustversion::attr(`</b><i>selector</i><b>`, `</b><i>attribute</i><b>`)]`</b>
82 stabilized in [Rust 1.33][pin]:
84 [pin]: https://blog.rust-lang.org/2019/02/28/Rust-1.33.0.html#pinning
86 ```rust
97 1 of packed structs was stabilized in [Rust 1.33][packed].
99 [packed]: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1330-2019-02-28
101 ```rust
115 ```rust
119 fn duration_as_days(dur: Duration) -> u64 {
129 Licensed under either of <a href="LICENSE-APACHE">Apache License, Version
130 2.0</a> or <a href="LICENSE-MIT">MIT license</a> at your option.
137 for inclusion in this crate by you, as defined in the Apache-2.0 license, shall