Home
last modified time | relevance | path

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

12345678910>>...198

/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/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,
59 # Generate a top level Cargo workspace and manifest for use in generation
63 cargo_lockfile = lockfiles.cargo,
66 cargo = cargo_path,
81 cargo_lockfile_path = lockfiles.cargo,
83 cargo = cargo_path,
104 … attrs.update({"lockfile": repository_ctx.attr.cargo_lockfile.relative("cargo-bazel-lock.json")})
118 | `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 splicing 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 splicing a new Cargo workspace
[all …]
/external/bazelbuild-rules_rust/crate_universe/src/splicing/
Dsplicer.rs1 //! Utility for creating valid Cargo workspaces
12 use crate::splicing::{Cargo, SplicedManifest, SplicingManifest};
21 /// Splice a manifest which is represented by a Cargo workspace
34 /// Splice a manifest from multiple disjoint Cargo manifests.
48 cargo_bin: &Cargo, in new() argument
84 metadata.workspace_root.join("Cargo.toml").as_std_path(), in new()
109 // UNWRAP: Safe because a Cargo.toml file must have a parent directory. in new()
163 let path = root_manifest_dir.join(member).join("Cargo.toml"); in find_missing_manifests()
206 /// Implementation for splicing Cargo workspaces
222 // Optionally install the cargo config after contents have been symlinked in splice_workspace()
[all …]
/external/rust/android-crates-io/crates/serde/
Dbuild.rs9 println!("cargo:rerun-if-changed=build.rs"); in main()
17 println!("cargo:rustc-check-cfg=cfg(no_core_cstr)"); in main()
18 println!("cargo:rustc-check-cfg=cfg(no_core_error)"); in main()
19 println!("cargo:rustc-check-cfg=cfg(no_core_net)"); in main()
20 println!("cargo:rustc-check-cfg=cfg(no_core_num_saturating)"); in main()
21 println!("cargo:rustc-check-cfg=cfg(no_core_try_from)"); in main()
22 println!("cargo:rustc-check-cfg=cfg(no_diagnostic_namespace)"); in main()
23 println!("cargo:rustc-check-cfg=cfg(no_float_copysign)"); in main()
24 println!("cargo:rustc-check-cfg=cfg(no_num_nonzero_signed)"); in main()
25 println!("cargo:rustc-check-cfg=cfg(no_relaxed_trait_bounds)"); in main()
[all …]
/external/rust/android-crates-io/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/cronet/stable/third_party/rust/chromium_crates_io/vendor/serde-1.0.215/
Dbuild.rs9 println!("cargo:rerun-if-changed=build.rs"); in main()
17 println!("cargo:rustc-check-cfg=cfg(no_core_cstr)"); in main()
18 println!("cargo:rustc-check-cfg=cfg(no_core_error)"); in main()
19 println!("cargo:rustc-check-cfg=cfg(no_core_net)"); in main()
20 println!("cargo:rustc-check-cfg=cfg(no_core_num_saturating)"); in main()
21 println!("cargo:rustc-check-cfg=cfg(no_core_try_from)"); in main()
22 println!("cargo:rustc-check-cfg=cfg(no_diagnostic_namespace)"); in main()
23 println!("cargo:rustc-check-cfg=cfg(no_float_copysign)"); in main()
24 println!("cargo:rustc-check-cfg=cfg(no_num_nonzero_signed)"); in main()
25 println!("cargo:rustc-check-cfg=cfg(no_relaxed_trait_bounds)"); in main()
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/serde-1.0.215/
Dbuild.rs9 println!("cargo:rerun-if-changed=build.rs"); in main()
17 println!("cargo:rustc-check-cfg=cfg(no_core_cstr)"); in main()
18 println!("cargo:rustc-check-cfg=cfg(no_core_error)"); in main()
19 println!("cargo:rustc-check-cfg=cfg(no_core_net)"); in main()
20 println!("cargo:rustc-check-cfg=cfg(no_core_num_saturating)"); in main()
21 println!("cargo:rustc-check-cfg=cfg(no_core_try_from)"); in main()
22 println!("cargo:rustc-check-cfg=cfg(no_diagnostic_namespace)"); in main()
23 println!("cargo:rustc-check-cfg=cfg(no_float_copysign)"); in main()
24 println!("cargo:rustc-check-cfg=cfg(no_num_nonzero_signed)"); in main()
25 println!("cargo:rustc-check-cfg=cfg(no_relaxed_trait_bounds)"); in main()
[all …]
/external/rust/android-crates-io/extra_versions/crates/clap/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/cronet/tot/third_party/rust/chromium_crates_io/vendor/base64-0.13.1/
D.travis.yml17 # cargo-tarpaulin needs this
21 …- cargo tarpaulin --version || RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install --force ca…
22 - cargo +nightly install cargo-fuzz
30 cache: cargo
33 # prevent cargo fuzz list from printing with color
37 - cargo build --verbose $TARGET --no-default-features
38 - cargo build --verbose $TARGET $FEATURES
39 - 'if [[ -z "$TARGET" ]]; then cargo test --verbose; fi'
40 - 'if [[ -z "$TARGET" ]]; then cargo doc --verbose; fi'
41 - 'if [[ "$TRAVIS_RUST_VERSION" = nightly ]]; then cargo bench --no-run; fi'
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/base64-0.13.1/
D.travis.yml17 # cargo-tarpaulin needs this
21 …- cargo tarpaulin --version || RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install --force ca…
22 - cargo +nightly install cargo-fuzz
30 cache: cargo
33 # prevent cargo fuzz list from printing with color
37 - cargo build --verbose $TARGET --no-default-features
38 - cargo build --verbose $TARGET $FEATURES
39 - 'if [[ -z "$TARGET" ]]; then cargo test --verbose; fi'
40 - 'if [[ -z "$TARGET" ]]; then cargo doc --verbose; fi'
41 - 'if [[ "$TRAVIS_RUST_VERSION" = nightly ]]; then cargo bench --no-run; fi'
[all …]
/external/rust/android-crates-io/crates/libfuzzer-sys/ci/
Dscript.sh8 cargo test --doc
11 cargo fuzz build
12 cargo fuzz build --dev
13 (! cargo fuzz run bananas -- -runs=100000)
17 cargo fuzz build
18 cargo fuzz build --dev
19 (! cargo fuzz run rgb -- -runs=10000000)
21 cargo fuzz run rgb \
28 cargo fuzz build
29 cargo fuzz build --dev
[all …]
/external/bazelbuild-rules_rust/crate_universe/src/cli/
Dvendor.rs16 use crate::metadata::{Annotations, Cargo, Generator, MetadataGenerator, VendorGenerator};
25 /// The path to a Cargo binary to use for gathering metadata
26 #[clap(long, env = "CARGO")]
27 pub cargo: PathBuf, field
29 /// The path to a rustc binary for use with Cargo
37 /// The config file with information about the Bazel and Cargo workspace
45 …/// The path to a [Cargo.lock](https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html…
49 /// A [Cargo config](https://doc.rust-lang.org/cargo/reference/config.html#configuration)
55 /// [cargo update](https://doc.rust-lang.org/cargo/commands/cargo-update.html). See
60 /// The path to a Cargo metadata `json` file.
[all …]
Dsplice.rs11 write_metadata, Cargo, CargoUpdateRequest, Generator, MetadataGenerator, TreeResolver,
23 …/// The path to a [Cargo.lock](https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html…
44 /// The path to a Cargo configuration file.
52 /// The path to a Cargo binary to use for gathering metadata
53 #[clap(long, env = "CARGO")]
54 pub cargo: PathBuf, field
56 /// The path to a rustc binary for use with Cargo
77 // Generate a splicer for creating a Cargo workspace manifest in splice()
80 let cargo = Cargo::new(opt.cargo, opt.rustc.clone()); in splice() localVariable
84 .splice_workspace(&cargo) in splice()
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/zerocopy-0.7.35/
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/rust/android-crates-io/extra_versions/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/cronet/tot/third_party/rust/chromium_crates_io/vendor/zerocopy-0.7.35/
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/cronet/stable/third_party/rust/chromium_crates_io/vendor/clap-4.5.21/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 Usage: cargo <COMMAND>
18 $ cargo-example example --help
21 Usage: cargo example [OPTIONS]
32 $ cargo-example example
35 $ cargo-example example --manifest-path Cargo.toml
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/clap-4.5.21/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 Usage: cargo <COMMAND>
18 $ cargo-example example --help
21 Usage: cargo example [OPTIONS]
32 $ cargo-example example
35 $ cargo-example example --manifest-path Cargo.toml
[all …]
/external/rust/android-crates-io/crates/clap/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 Usage: cargo <COMMAND>
18 $ cargo-example example --help
21 Usage: cargo example [OPTIONS]
32 $ cargo-example example
35 $ cargo-example example --manifest-path Cargo.toml
[all …]
/external/rust/android-crates-io/crates/clap/
DCargo.toml1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
8 # If you are reading this file be aware that the original Cargo.toml
10 # See Cargo.toml.orig for the original contents.
20 "Cargo.toml",
40 cargo-args = [
124 name = "cargo-example"
125 required-features = ["cargo"]
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/memchr-2.7.4/.vim/
Dcoc-settings.json2 "rust-analyzer.cargo.allFeatures": false,
4 "benchmarks/engines/libc/Cargo.toml",
5 "benchmarks/engines/rust-bytecount/Cargo.toml",
6 "benchmarks/engines/rust-jetscii/Cargo.toml",
7 "benchmarks/engines/rust-memchr/Cargo.toml",
8 "benchmarks/engines/rust-memchrold/Cargo.toml",
9 "benchmarks/engines/rust-sliceslice/Cargo.toml",
10 "benchmarks/engines/rust-std/Cargo.toml",
11 "benchmarks/engines/stringzilla/Cargo.toml",
12 "benchmarks/shared/Cargo.toml",
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/memchr-2.7.4/.vim/
Dcoc-settings.json2 "rust-analyzer.cargo.allFeatures": false,
4 "benchmarks/engines/libc/Cargo.toml",
5 "benchmarks/engines/rust-bytecount/Cargo.toml",
6 "benchmarks/engines/rust-jetscii/Cargo.toml",
7 "benchmarks/engines/rust-memchr/Cargo.toml",
8 "benchmarks/engines/rust-memchrold/Cargo.toml",
9 "benchmarks/engines/rust-sliceslice/Cargo.toml",
10 "benchmarks/engines/rust-std/Cargo.toml",
11 "benchmarks/engines/stringzilla/Cargo.toml",
12 "benchmarks/shared/Cargo.toml",
[all …]

12345678910>>...198