Home
last modified time | relevance | path

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

12

/third_party/rust/crates/tracing/.github/workflows/
DCI.yml6 - master
7 - "v0.1.x"
13 # Incremental compilation is useful as part of an edit-build-test-edit cycle,
20 # See https://matklad.github.io/2021/09/04/fast-rust-builds.html#ci-workflow
30 MSRV: 1.49.0
31 # TODO: remove this once tracing's MSRV is bumped.
40 runs-on: ubuntu-latest
42 - uses: actions/checkout@v3
43 - uses: actions-rs/toolchain@v1
48 - name: Check
[all …]
/third_party/rust/crates/clap/.github/workflows/
Dci.yml7 - cron: '3 3 3 * *'
16 needs: [test, check, docs, rustfmt, clippy]
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/num-traits/ci/
Dtest_full.sh3 set -e
5 CRATE=num-traits
6 MSRV=1.8
9 local array=($(rustc --version));
16 IFS=. read -ra rust <<< "$RUST_VERSION"
17 IFS=. read -ra want <<< "$1"
18 [[ "${rust[0]}" -gt "${want[0]}" ||
19 ( "${rust[0]}" -eq "${want[0]}" &&
20 "${rust[1]}" -ge "${want[1]}" )
25 if ! check_version $MSRV ; then
[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 …]
/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/pin-project-lite/.github/workflows/
Dci.yml10 - main
11 - dev
12 - staging
13 - v[0-9]+.[0-9]+
15 - cron: '0 1 * * *'
23 RUSTDOCFLAGS: -D warnings
24 RUSTFLAGS: -D warnings
32 test:
34 fail-fast: false
37 - 1.37
[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/pin-project-lite/tests/doc/
Dlib.rs2 #![doc(test(
10 // As `doc = include_str!` and `doc-comment` do not work with `cfg(test)`,
12 // MSRV increases.
14 // https://github.com/rust-lang/rust/issues/82768
/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/quote/.github/workflows/
Dci.yml12 RUSTFLAGS: -Dwarnings
15 test:
17 runs-on: ubuntu-latest
19 fail-fast: false
22 timeout-minutes: 45
24 - uses: actions/checkout@v3
25 - uses: dtolnay/rust-toolchain@master
28 components: rust-src
29 - run: cargo test
33 runs-on: ubuntu-latest
[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/tracing/tracing-opentelemetry/src/
Dlib.rs4 //! structured, event-based diagnostic information. This crate provides a layer
6 //! [OpenTelemetry]-compatible distributed tracing systems for processing and
10 //! [`tracing`]: https://github.com/tokio-rs/tracing
12 //! *Compiler support: [requires `rustc` 1.56+][msrv]*
14 //! [msrv]: #supported-rust-versions
23 //! Setting this field is useful if you want to display non-static information
41 //! [semantic conventions]: https://github.com/open-telemetry/opentelemetry-specification/tree/mast…
49 //! [spec repository]: https://github.com/open-telemetry/opentelemetry-specification
81 //! - `metrics`: Enables the [`MetricsSubscriber`] type, a [subscriber] that
82 //! exports OpenTelemetry metrics from specifically-named events. This enables
[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 …]

12