Home
last modified time | relevance | path

Searched +full:test +full:- +full:msrv (Results 1 – 25 of 35) sorted by relevance

12

/third_party/rust/crates/clap/.github/workflows/
Dci.yml7 - cron: '3 3 3 * *'
16 needs: [test, check, docs, rustfmt, clippy, cffconvert]
17 runs-on: ubuntu-latest
19 - name: Done
21 test:
22 name: Test
27 - build: linux
28 os: ubuntu-latest
31 - build: windows
32 os: windows-latest
[all …]
Drust-next.yml1 name: rust-next
4 - cron: '3 3 3 * *'
9 test:
10 name: Test
15 - build: stable
16 os: ubuntu-latest
19 - build: linux
20 os: ubuntu-latest
23 - build: windows
24 os: windows-latest
[all …]
/third_party/rust/crates/bindgen/.github/workflows/
Dbindgen.yml6 - main
9 - main
12 rustfmt-clippy:
13 runs-on: ubuntu-latest
16 - uses: actions/checkout@v3
18 - name: Install stable
19 uses: actions-rs/toolchain@v1
22 # TODO: Should ideally be stable, but we use some nightly-only
28 - name: Run rustfmt
29 uses: actions-rs/cargo@v1
[all …]
/third_party/rust/crates/once_cell/xtask/src/
Dmain.rs1 #[cfg(test)]
8 const MSRV: &str = "1.56.0"; constant
10 fn main() -> xshell::Result<()> { in main()
18 cmd!(sh, "cargo test --workspace --no-run").run()?; in main()
22 let _s = section("TEST"); in main()
24 for &release in &[None, Some("--release")] { in main()
25 cmd!(sh, "cargo test --features unstable {release...}").run()?; in main()
28 "cargo test --no-default-features --features unstable,std,parking_lot {release...}" in main()
34 cmd!(sh, "cargo test --no-default-features --features unstable --test it").run()?; in main()
35 cmd!(sh, "cargo test --no-default-features --features unstable,alloc --test it").run()?; in main()
[all …]
/third_party/rust/crates/clap/
DMakefile4 # - Easy to debug: show the command being run
5 # - Leverage CI features: Only run individual steps so we can use features like reporting elapsed t…
7 ARGS?=--workspace
10 ARGS+=--target ${TOOLCHAIN_TARGET}
13 MSRV?=1.64.0 macro
16 _FEATURES_minimal = --no-default-features --features "std"
18 …asm = --no-default-features --features "std help usage error-context suggestions" --features "depr…
19 _FEATURES_full = --features "deprecated derive cargo env unicode string unstable-replace wrap_help"
20 _FEATURES_next = ${_FEATURES_full} --features unstable-v5
21 _FEATURES_debug = ${_FEATURES_full} --features debug --features clap_complete/debug
[all …]
DCONTRIBUTING.md7 …not* be ignored, all contributes are welcome!). These are by no means hard-and-fast rules, as I'm …
10- If backwards compatibility *must* be broken, use deprecation warnings if at all possible before …
11 - This does not apply for security concerns
13 - Parsing of arguments shouldn't slow down usage of the main program
14- This is also true of generating help and usage information (although *slightly* less stringent, …
16- Once parsing is complete, the memory footprint of `clap` should be low since the main program is…
18 …github.com/clap-rs/clap/blob/62eff1f8d3394cef819b4aa7b23a1032fc584f03/src/build/app/debug_asserts.…
19 exit gracefully on *end-user* error
25 - [Discussions](https://github.com/clap-rs/clap/discussions) can be useful for getting help and bra…
26 - [Issues](https://github.com/clap-rs/clap/issues) work well discussing a need and how to solve it
[all …]
DCargo.toml12 license = "MIT OR Apache-2.0"
14 rust-version = "1.64.0" # MSRV
28 description = "A simple to use, efficient, and full-featured Command Line Argument Parser"
29 repository = "https://github.com/clap-rs/clap"
30 categories = ["command-line-interface"]
40 rust-version.workspace = true
44 features = ["unstable-doc"]
45 rustdoc-args = ["--cfg", "docsrs"]
46 cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
49 features = ["unstable-doc"]
[all …]
/third_party/rust/crates/once_cell/
DCHANGELOG.md5 -
9 - Add `race::OnceRef` for storing a `&'a T`.
13 - Add `no_std` implementation based on `critical-section`,
15 - Deprecate `atomic-polyfill` feature (use the new `critical-section` instead)
19 - Increase minimal supported Rust version to 1.56.0.
20 - Implement `UnwindSafe` even if the `std` feature is disabled.
24 - Add extension to `unsync` and `sync` `Lazy` mut API:
25 - `force_mut`
26 - `get_mut`
31 - Make implementation compliant with [strict provenance](https://github.com/rust-lang/rust/issues/9…
[all …]
/third_party/rust/crates/log/.github/workflows/
Dmain.yml5 test:
6 name: Test
7 runs-on: ${{ matrix.os }}
12 - build: stable
13 os: ubuntu-latest
15 - build: beta
16 os: ubuntu-latest
18 - build: nightly
19 os: ubuntu-latest
21 - build: macos
[all …]
/third_party/rust/crates/nix/
D.cirrus.yml8 RUSTFLAGS: -D warnings
9 RUSTDOCFLAGS: -D warnings
11 # The MSRV
18 - . $HOME/.cargo/env || true
19 - $TOOL +$TOOLCHAIN -Vv
20 - rustc +$TOOLCHAIN -Vv
21 - $TOOL +$TOOLCHAIN $BUILD $ZFLAGS --target $TARGET --all-targets
22 - $TOOL +$TOOLCHAIN doc $ZFLAGS --no-deps --target $TARGET
23 - $TOOL +$TOOLCHAIN clippy $ZFLAGS --target $TARGET --all-targets -- -D warnings
24 - if [ -z "$NOHACK" ]; then mkdir -p $HOME/.cargo/bin; export PATH=$HOME/.cargo/bin:$PATH; fi
[all …]
/third_party/rust/crates/either/.github/workflows/
Dci.yml11 runs-on: ubuntu-latest
13 fail-fast: false
16 - 1.36.0 # MSRV
17 - stable
18 - beta
19 - nightly
21 - ""
22 - "serde"
25 - name: Checkout
28 - name: Set up Rust
[all …]
/third_party/rust/crates/memoffset/.github/workflows/
Dci.yml6 test:
7 name: Test Suite
8 runs-on: ubuntu-latest
12 - stable
13 - beta
14 - nightly
16 - uses: actions/checkout@v2
17 - uses: actions-rs/toolchain@v1
21 - name: Run cargo test
22 run: cargo test
[all …]
/third_party/rust/crates/clap/tests/
Dderive_ui.rs3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
9 #[rustversion::attr(any(not(stable), before(1.64), since(1.65)), ignore)] // MSRV
10 #[test]
/third_party/rust/crates/log/
DCargo.toml6 license = "MIT OR Apache-2.0"
8 repository = "https://github.com/rust-lang/log"
13 categories = ["development-tools::debugging"]
21 [[test]]
26 [[test]]
49 # this will have a tighter MSRV before stabilization
50 kv_unstable = ["value-bag"]
51 kv_unstable_sval = ["kv_unstable", "value-bag/sval", "sval"]
52 kv_unstable_std = ["std", "kv_unstable", "value-bag/error"]
53 kv_unstable_serde = ["kv_unstable_std", "value-bag/serde", "serde"]
[all …]
/third_party/rust/crates/heck/.github/workflows/
Drust.yml11 runs-on: ubuntu-latest
14 - uses: actions/checkout@v2
15 # Use MSRV for the build job
16 - uses: actions-rs/toolchain@v1
21 - name: Build default
22 uses: actions-rs/cargo@v1
25 - name: Build with unicode segmentation on
26 uses: actions-rs/cargo@v1
28 args: --features unicode
31 - uses: actions-rs/toolchain@v1
[all …]
/third_party/rust/crates/is-terminal/
DREADME.md2 <h1><code>is-terminal</code></h1>
5 <strong>Test whether a given stream is a terminal</strong>
9 …="https://github.com/sunfishcode/is-terminal/actions?query=workflow%3ACI"><img src="https://github…
10 …<a href="https://crates.io/crates/is-terminal"><img src="https://img.shields.io/crates/v/is-termin…
11 …<a href="https://docs.rs/is-terminal"><img src="https://docs.rs/is-terminal/badge.svg" alt="docs.r…
15 is-terminal is a simple utility that answers one question:
23 On Unix-family platforms, this is effectively the same as the [`isatty`]
25 high-level stream types instead of raw file descriptors.
31 [PR \#54] port to windows-sys applied. The only additional difference is that
55 This library is tested on both Unix-family and Windows platforms.
[all …]
/third_party/rust/crates/unicode-ident/.github/workflows/
Dci.yml13 RUSTFLAGS: -Dwarnings
21 runs-on: ubuntu-latest
23 timeout-minutes: 45
25 - uses: actions/checkout@v3
26 - uses: dtolnay/rust-toolchain@stable
27 - id: ucd-generate
28 …run: echo "version=$(grep 'ucd-generate [0-9]\+\.[0-9]\+\.[0-9]\+' tests/tables/tables.rs --only-m…
29 - run: cargo install ucd-generate
30 - run: curl -LO https://www.unicode.org/Public/zipped/latest/UCD.zip
31 - run: unzip UCD.zip -d UCD
[all …]
/third_party/rust/crates/bindgen/
DREADME_zh.md22 /* automatically generated by rust-bindgen 0.99.9 */
51 │ ├── LICENSE -> ../LICENSE
56 ├── bindgen-cli
59 │ ├── LICENSE -> ../LICENSE
62 ├── bindgen-integration
68 ├── bindgen-tests
80 │ ├── assert-no-diff.bat
81 │ ├── no-includes.sh
82 │ ├── test.bat
83 │ └── test.sh
[all …]
/third_party/rust/crates/aho-corasick/src/
Dbuffer.rs17 /// contents: `test test foobar test test`. Now assume that we happen to read
18 /// the aforementioned file in two chunks: `test test foo` and `bar test test`.
21 /// read, the contents of the buffer should be `st foobar test test`, where the
43 pub fn new(min_buffer_len: usize) -> Buffer { in new()
52 // TODO: It would be good to find a way to test the streaming in new()
62 pub fn buffer(&self) -> &[u8] { in buffer()
70 pub fn min_buffer_len(&self) -> usize { in min_buffer_len()
76 pub fn len(&self) -> usize { in len()
81 fn free_buffer(&mut self) -> &mut [u8] { in free_buffer()
89 pub fn fill<R: io::Read>(&mut self, mut rdr: R) -> io::Result<bool> { in fill()
[all …]
/third_party/rust/crates/nom/
DREADME.md3 [![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
4 …https://gitter.im/Geal/nom?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=bad…
8 …ustc version](https://img.shields.io/badge/rustc-1.48.0+-lightgray.svg)](#rust-version-requirement…
20 <!-- toc -->
22 - [Example](#example)
23 - [Documentation](#documentation)
24 - [Why use nom?](#why-use-nom)
25 - [Binary format parsers](#binary-format-parsers)
26 - [Text format parsers](#text-format-parsers)
27 - [Programming language parsers](#programming-language-parsers)
[all …]
/third_party/rust/crates/regex/
DCargo.toml5 license = "MIT OR Apache-2.0"
7 repository = "https://github.com/rust-lang/regex"
9 homepage = "https://github.com/rust-lang/regex"
14 categories = ["text-processing"]
21 "bench", "regex-capi", "regex-debug", "regex-syntax",
28 # around this is to disable automatic doc testing, but explicitly test them
29 # with `cargo test --doc`.
33 # https://docs.rs/regex/*/#crate-features
35 default = ["std", "perf", "unicode", "regex-syntax/default"]
53 perf = ["perf-cache", "perf-dfa", "perf-inline", "perf-literal"]
[all …]
DCHANGELOG.md1 1.7.1 (2023-01-09)
8 * [PERF #930](https://github.com/rust-lang/regex/pull/930):
13 * [BUG #945](https://github.com/rust-lang/regex/issues/945):
17 1.7.0 (2022-11-05)
23 * [FEATURE #832](https://github.com/rust-lang/regex/issues/916):
27 1.6.0 (2022-07-05)
33 * [FEATURE #832](https://github.com/rust-lang/regex/pull/832):
35 * [FEATURE #857](https://github.com/rust-lang/regex/pull/857):
37 * [FEATURE #861](https://github.com/rust-lang/regex/pull/861):
39 * [FEATURE #877](https://github.com/rust-lang/regex/issues/877):
[all …]
/third_party/rust/crates/either/src/
Dlib.rs18 #[cfg(any(test, feature = "use_std"))]
35 #[cfg(any(test, feature = "use_std"))]
37 #[cfg(any(test, feature = "use_std"))]
69 /// fn length(owned_or_borrowed: Either<String, &'static str>) -> usize {
103 /// fn twice(wrapper: Either<u32, &str>) -> Either<u32, &str> {
135 fn clone(&self) -> Self { in clone()
161 pub fn is_left(&self) -> bool { in is_left()
177 pub fn is_right(&self) -> bool { in is_right()
192 pub fn left(self) -> Option<L> { in left()
210 pub fn right(self) -> Option<R> { in right()
[all …]
/third_party/rust/crates/io-lifetimes/
DREADME.md2 <h1><code>io-lifetimes</code></h1>
5 <strong>A low-level I/O ownership and borrowing library</strong>
9 …"https://github.com/sunfishcode/io-lifetimes/actions?query=workflow%3ACI"><img src="https://github…
10 …<a href="https://crates.io/crates/io-lifetimes"><img src="https://img.shields.io/crates/v/io-lifet…
11 …<a href="https://docs.rs/io-lifetimes"><img src="https://docs.rs/io-lifetimes/badge.svg" alt="docs…
25 - [hello], a basic demo of this API, doing low-level I/O manually, using the
27 - [easy-conversions], demonstrating the `from_into` convenience feature for
29 - [portable-views], demonstrating the convenience feature which allows one
31 - [flexible-apis], demonstrating how to write library APIs that accept
33 - [owning-wrapper], demonstrating how to implement a type which wraps an
[all …]
/third_party/rust/crates/once_cell/src/
Dlib.rs3 //! `once_cell` provides two new cell-like types, [`unsync::OnceCell`] and [`sync::OnceCell`]. A `O…
4 //! might store arbitrary non-`Copy` types, can be assigned to at most once and provides direct acc…
9 //! const fn new() -> OnceCell<T> { ... }
10 //! fn set(&self, value: T) -> Result<(), T> { ... }
11 //! fn get(&self) -> Option<&T> { ... }
19 //! The `sync` flavor is thread-safe (that is, implements the [`Sync`] trait), while the `unsync` o…
23 //! [`RefCell`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html
24 //! [`Mutex`]: https://doc.rust-lang.org/std/sync/struct.Mutex.html
25 //! [`Sync`]: https://doc.rust-lang.org/std/marker/trait.Sync.html
45 //! pub fn global() -> &'static Logger {
[all …]

12