Home
last modified time | relevance | path

Searched full:cargo (Results 1 – 25 of 3530) sorted by relevance

12345678910>>...142

/external/rust/crates/grpcio/.github/workflows/
Dci.yml25 …- run: which cargo && cargo version && clang --version && openssl version && which cmake && cmake …
26 - run: cargo xtask submodule
27 - run: cargo fmt --all -- --check
28 …- run: cargo clippy --all -- -D clippy::all && cargo clippy --all --no-default-features --features…
29 - run: cargo xtask clang-lint && git diff-index --quiet HEAD
43 - run: which cargo && cargo version && clang --version && openssl version
44 - run: cargo xtask submodule
45 - run: env TEST_BIND=0 cargo xtask bindgen && git diff --exit-code HEAD
46 - run: cargo xtask codegen && git diff --exit-code HEAD;
47 - run: cargo xtask bindgen
[all …]
/external/rust/crates/openssl/
Dbuild.rs11 println!("cargo:rustc-cfg=libressl"); in main()
15 println!("cargo:rustc-cfg=boringssl"); in main()
22 println!("cargo:rustc-cfg=libressl250"); in main()
25 println!("cargo:rustc-cfg=libressl251"); in main()
28 println!("cargo:rustc-cfg=libressl261"); in main()
31 println!("cargo:rustc-cfg=libressl270"); in main()
34 println!("cargo:rustc-cfg=libressl271"); in main()
37 println!("cargo:rustc-cfg=libressl273"); in main()
40 println!("cargo:rustc-cfg=libressl280"); in main()
43 println!("cargo:rustc-cfg=libressl291"); in main()
[all …]
/external/rust/crates/log/.github/workflows/
Dmain.yml39 - run: cargo test --verbose
40 - run: cargo test --verbose --no-default-features
41 - run: cargo test --verbose --all-features
42 - run: cargo test --verbose --features serde
43 - run: cargo test --verbose --features std
44 - run: cargo test --verbose --features kv_unstable
45 - run: cargo test --verbose --features kv_unstable_sval
46 - run: cargo test --verbose --features kv_unstable_serde
47 …- run: cargo test --verbose --features "kv_unstable kv_unstable_std kv_unstable_sval kv_unstable_s…
48 - run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml
[all …]
/external/rust/crates/proc-macro2/.github/workflows/
Dci.yml35 - run: cargo test
36 - run: cargo test --no-default-features
37 - run: cargo test --features span-locations
38 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test
39 run: cargo test
42 - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features
43 run: cargo test --no-default-features
60 - run: cargo test
61 - run: cargo test --no-default-features
62 …- run: cargo test --no-default-features --test features -- --ignored make_sure_no_proc_macro # run…
[all …]
/external/rust/crates/serde_json/.github/workflows/
Dci.yml26 - run: cargo test
27 - run: cargo test --features preserve_order --tests -- --skip ui --exact
28 - run: cargo test --features float_roundtrip --tests -- --skip ui --exact
29 - run: cargo test --features arbitrary_precision --tests -- --skip ui --exact
30 - run: cargo test --features float_roundtrip,arbitrary_precision --tests -- --skip ui --exact
31 - run: cargo test --features raw_value --tests -- --skip ui --exact
32 - run: cargo test --features unbounded_depth --tests -- --skip ui --exact
55 - run: cargo check
56 - run: cargo check --features float_roundtrip
57 - run: cargo check --features arbitrary_precision
[all …]
/external/rust/crates/config/.github/workflows/
Dmsrv.yml28 - name: Install Cargo.lock.msrv
29 run: cp Cargo.lock.msrv Cargo.lock
31 - name: Run cargo check
33 uses: actions-rs/cargo@v1
37 - name: Run cargo check (nightly)
40 uses: actions-rs/cargo@v1
66 - name: Install Cargo.lock.msrv
67 run: cp Cargo.lock.msrv Cargo.lock
69 - name: Run cargo test
71 uses: actions-rs/cargo@v1
[all …]
/external/rust/crates/ahash/.github/workflows/
Drust.yml16 run: cargo check --no-default-features
18 run: cargo test --no-default-features
20 run: cargo check --no-default-features --features compile-time-rng
22 run: cargo test --no-default-features --features compile-time-rng
24 run: cargo check --no-default-features --features std
26 run: cargo check
28 run: cargo test
42 run: cargo check -Z msrv-policy
44 run: cargo test
46 run: cargo check --features serde
[all …]
/external/bazelbuild-rules_rust/crate_universe/src/
Dmetadata.rs1 //! Tools for gathering various kinds of metadata (Cargo.lock, Cargo metadata, Crate Index info).
30 /// A Trait for generating metadata (`cargo metadata` output and a lock file) from a Cargo manifest.
35 /// Generates Cargo metadata and a lockfile from a provided manifest.
37 /// The path to a `cargo` binary
38 cargo_bin: Cargo,
47 cargo_bin: Cargo::new(PathBuf::from( in new()
48 env::var("CARGO").unwrap_or_else(|_| "cargo".to_string()), in new()
54 pub(crate) fn with_cargo(mut self, cargo_bin: Cargo) -> Self { in with_cargo()
72 let lock_path = manifest_dir.join("Cargo.lock"); in generate()
74 bail!("No `Cargo.lock` file was found with the given manifest") in generate()
[all …]
/external/rust/beto-rust/nearby/
DREADME.md19 ### Cargo subsection
21 Install [`cargo-deny`](https://github.com/EmbarkStudios/cargo-deny)
22 and [`cargo-fuzz`](https://github.com/rust-fuzz/cargo-fuzz):
25 cargo install --locked cargo-deny
26 cargo install cargo-fuzz
46 Running the image runs `cargo run -- check-everything` to verify all of the targets can
62 See `cargo run -- --help` for all the available subcommands.
67 cargo run -- check-everything
73 cargo build --workspace --all-targets
79 cargo test --workspace
[all …]
/external/bazelbuild-rules_rust/crate_universe/private/
Dcrates_repository.bzl36 # Locate Rust tools (cargo, rustc)
38 cargo_path = repository_ctx.path(tools.cargo)
51 cargo = cargo_path,
58 # Generate a top level Cargo workspace and manifest for use in generation
62 cargo_lockfile = lockfiles.cargo,
65 cargo = cargo_path,
80 cargo_lockfile_path = lockfiles.cargo,
82 cargo = cargo_path,
103 … attrs.update({"lockfile": repository_ctx.attr.cargo_lockfile.relative("cargo-bazel-lock.json")})
117 | `CARGO_BAZEL_GENERATOR_URL` | The URL of a cargo-bazel binary. This variable takes precedence ove…
[all …]
Dsplicing_utils.bzl1 """Utilities directly related to the `splicing` step of `cargo-bazel`."""
6 """Various settings used to configure Cargo manifest splicing behavior.
8 [rv]: https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
11 resolver_version (str, optional): The [resolver version][rv] to use in generated Cargo
37 """Produce a manifest containing required components for splciing a new Cargo workspace
39 [cargo_config]: https://doc.rust-lang.org/cargo/reference/config.html
40 [cargo_toml]: https://doc.rust-lang.org/cargo/reference/manifest.html
44 …manifests (dict): A mapping of paths to Bazel labels which represent [Cargo manifests][cargo_toml].
45 cargo_config_path (str): The absolute path to a [Cargo config][cargo_config].
78 """Produce a manifest containing required components for splciing a new Cargo workspace
[all …]
/external/rust/crates/winnow/examples/ndjson/
Dexample.ndjson1cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.46/Cargo.toml","target":{"kind":["c…
3cargo/registry/src/github.com-1ecc6299db9ec823/quote-1.0.21/Cargo.toml","target":{"kind":["custom-…
4cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/Cargo.toml","target":{"kind":["custom-…
5cargo/registry/src/github.com-1ecc6299db9ec823/unicode-ident-1.0.5/Cargo.toml","target":{"kind":["…
6cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.46/Cargo.toml","target":{"kind":["l…
9cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.102/Cargo.toml","target":{"kind":["custom-b…
10cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/Cargo.toml","target":{"kind":["lib"],"…
11cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.1.0/Cargo.toml","target":{"kind":["lib"],…
12cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.145/Cargo.toml","target":{"kind":[…
13cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.145/Cargo.toml","target":{"kind":["custom…
[all …]
/external/rust/crates/semver/.github/workflows/
Dci.yml37 - run: cargo test
38 - run: cargo check --no-default-features
39 - run: cargo check --features serde
40 - run: cargo check --no-default-features --features serde
52 - run: cargo test
65 - run: cargo generate-lockfile -Z minimal-versions
66 - run: cargo check --locked --features serde
79 - uses: dtolnay/install@cargo-docs-rs
80 - run: cargo docs-rs
90 - run: cargo clippy --tests --benches -- -Dclippy::all -Dclippy::pedantic
[all …]
/external/rust/crates/base64/.circleci/
Dconfig.yml41 …-cache-v5-<< parameters.rust_img >>-<< parameters.toolchain_override >>-{{ checksum "Cargo.toml" }}
57 cargo update
58 cargo build
63 cargo fmt -- --check
71 cargo clippy --all-targets
78 cargo build --all-targets
83 cargo build --no-default-features
86 cargo build --no-default-features --all-targets
91 cargo build --no-default-features --features alloc
94 cargo build --no-default-features --features alloc --all-targets
[all …]
/external/bazelbuild-rules_rust/crate_universe/src/splicing/
Dsplicer.rs1 //! Utility for creating valid Cargo workspaces
21 /// Splice a manifest which is represented by a Cargo workspace
34 /// Splice a manifest from multiple disjoint Cargo manifests.
48 cargo: &Path, in new()
79 .cargo_path(cargo) in new()
86 metadata.workspace_root.join("Cargo.toml").as_std_path(), in new()
111 // UNWRAP: Safe because a Cargo.toml file must have a parent directory. in new()
165 let path = root_manifest_dir.join(member).join("Cargo.toml"); in find_missing_manifests()
207 /// Implementation for splicing Cargo workspaces
222 // Optionally install the cargo config after contents have been symlinked in splice_workspace()
[all …]
/external/rust/crates/smallvec/.github/workflows/
Dmain.yml40 - name: Cargo build
41 run: cargo build --verbose
43 - name: Cargo test
45 run: cargo test --verbose
47 - name: Cargo test w/ serde
49 run: cargo test --verbose --features serde
51 - name: Cargo check w/o default features
53 run: cargo check --verbose --no-default-features
55 - name: Cargo test w/ union
57 run: cargo test --verbose --features union
[all …]
/external/rust/crates/clap/3.2.23/examples/
Dcargo-example.md1 For more on creating a custom subcommand, see [the cargo
2 book](https://doc.rust-lang.org/cargo/reference/external-tools.html#custom-subcommands).
3 The crate [`clap-cargo`](https://github.com/crate-ci/clap-cargo) can help in
4 mimicking cargo's interface.
8 $ cargo-example --help
9 cargo
12 cargo <SUBCOMMAND>
21 $ cargo-example example --help
22 cargo-example [..]
26 cargo example [OPTIONS]
[all …]
Dcargo-example-derive.md1 For more on creating a custom subcommand, see [the cargo
2 book](https://doc.rust-lang.org/cargo/reference/external-tools.html#custom-subcommands).
3 The crate [`clap-cargo`](https://github.com/crate-ci/clap-cargo) can help in
4 mimicking cargo's interface.
8 $ cargo-example-derive --help
9 cargo
12 cargo <SUBCOMMAND>
21 $ cargo-example-derive example-derive --help
22 cargo-example-derive [..]
26 cargo example-derive [OPTIONS]
[all …]
/external/rust/crates/itoa/.github/workflows/
Dci.yml37 - run: cargo build
38 - run: cargo test
39 - run: cargo test --release
40 - run: cargo build --no-default-features
41 - run: cargo test --tests --no-default-features
42 - run: cargo test --tests --no-default-features --release
43 - run: cargo build --tests --features no-panic --release
45 - run: cargo bench --no-run
59 - uses: dtolnay/install@cargo-docs-rs
60 - run: cargo docs-rs
[all …]
/external/rust/crates/regex-automata/.github/workflows/
Dci.yml15 CARGO: cargo
16 # When CARGO is set to CROSS, TARGET is set to `--target matrix.target`.
84 cargo install --git https://github.com/rust-embedded/cross
85 echo "CARGO=cross" >> $GITHUB_ENV
88 - name: Show command used for Cargo
90 echo "cargo command is: ${{ env.CARGO }}"
95 run: ${{ env.CARGO }} build --verbose ${{ env.TARGET }}
99 run: ${{ env.CARGO }} doc --verbose ${{ env.TARGET }}
106 run: ${{ env.CARGO }} build --manifest-path examples/Cargo.toml --examples
110 run: ${{ env.CARGO }} test --verbose --features transducer ${{ env.TARGET }}
[all …]
/external/bazelbuild-rules_rust/crate_universe/tests/
Dcargo_integration_test.rs14 let cargo = std::fs::canonicalize(PathBuf::from( in setup_cargo_env() localVariable
15 env::var("CARGO").context("CARGO environment variable must be set.")?, in setup_cargo_env()
22 ensure!(cargo.exists()); in setup_cargo_env()
27 if cargo != PathBuf::from(env::var("CARGO").unwrap()) { in setup_cargo_env()
28 env::set_var("CARGO", cargo.as_os_str()); in setup_cargo_env()
42 println!("$CARGO={}", cargo.display()); in setup_cargo_env()
45 Ok((cargo, rustc)) in setup_cargo_env()
49 let (cargo, rustc) = setup_cargo_env().unwrap(); in run()
55 let manifest_path = scratch.path().join("Cargo.toml"); in run()
104 cargo, in run()
[all …]
/external/rust/crates/zerocopy/
Dcargo.sh11 # This script is a thin wrapper around Cargo that provides human-friendly
15 # cargo.sh --version <toolchain-name> # looks up the version for the named toolchain
16 # cargo.sh +<toolchain-name> [...] # runs cargo commands with the named toolchain
17 # cargo.sh +all [...] # runs cargo commands with each toolchain
25 # TRYBUILD=overwrite ./cargo.sh +all test --workspace
40 # NOTE(#547): We set `CARGO_TARGET_DIR` here because `cargo metadata`
41 # sometimes causes the `cargo-metadata` crate to be rebuilt from source using
44 # causing the subsequent `cargo` invocation to rebuild unnecessarily. By
46 # clobbers the build artifacts used by the later `cargo` invocation.
47 …CARGO_TARGET_DIR=target/cargo-sh cargo metadata --format-version 1 | jq -r ".packages[] | select(.…
[all …]
/external/bazelbuild-rules_rust/crate_universe/src/cli/
Dvendor.rs16 use crate::metadata::{Annotations, Cargo, Generator, MetadataGenerator, VendorGenerator};
24 /// The path to a Cargo binary to use for gathering metadata
25 #[clap(long, env = "CARGO")]
26 pub cargo: PathBuf, field
28 /// The path to a rustc binary for use with Cargo
36 /// The config file with information about the Bazel and Cargo workspace
44 …/// The path to a [Cargo.lock](https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html…
48 /// A [Cargo config](https://doc.rust-lang.org/cargo/reference/config.html#configuration)
54 /// [cargo update](https://doc.rust-lang.org/cargo/commands/cargo-update.html). See
59 /// The path to a Cargo metadata `json` file.
[all …]
/external/rust/crates/hashlink/.circleci/
Dconfig.yml18 cargo --version
20 cargo +nightly --version
24 command: cargo generate-lockfile
27 - cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
32 cargo fmt --all -- --check --color=auto
35 command: cargo build --all --all-targets
38 command: cargo test --all --all-features
42 cargo +nightly miri test --all-features
46 …RUSTFLAGS="-Z sanitizer=address" cargo +nightly -Z build-std test --target x86_64-unknown-linux-gn…
47 …RUSTFLAGS="-Z sanitizer=leak" cargo +nightly test -Z build-std --target x86_64-unknown-linux-gnu -…
[all …]
/external/rust/crates/chrono/.github/workflows/
Dlint.yml22 - run: cargo fmt --check -- --color=always
23 - run: cargo fmt --check --manifest-path fuzz/Cargo.toml
24 - run: cargo fmt --check --manifest-path bench/Cargo.toml
26 cargo clippy ${{ env.ALL_NON_EXCLUSIVE_FEATURES }} --all-targets --color=always \
29 cargo clippy --manifest-path fuzz/Cargo.toml --color=always \
32 cargo clippy --manifest-path bench/Cargo.toml --color=always \
46 cargo-deny:
50 - uses: EmbarkStudios/cargo-deny-action@v1
57 - run: cargo install cargo-deadlinks
58 - run: cargo deadlinks -- ${{ env.ALL_NON_EXCLUSIVE_FEATURES }}
[all …]

12345678910>>...142