Home
last modified time | relevance | path

Searched +full:cargo +full:- +full:deny (Results 1 – 25 of 86) sorted by relevance

1234

/external/cronet/third_party/boringssl/src/rust/bssl-crypto/
Ddeny.toml4 # * deny - An error will be produced and the check will fail
5 # * warn - A warning will be produced, but the check will not fail
6 # * allow - No warning or error will be produced, though in some cases a note
13 # only the specified targets will be checked when running `cargo deny check`.
23 #{ triple = "x86_64-unknown-linux-musl" },
27 #{ triple = "wasm32-unknown-unknown", features = ["atomics"] },
30 # This section is considered when running `cargo deny check advisories`
32 # https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
35 db-path = "~/.cargo/advisory-db"
37 db-urls = ["https://github.com/rustsec/advisory-db"]
[all …]
DREADME.md1 bssl-crypto
4 rust bindings to boringssl which wrap bssl-sys, a low level autogenerated binding
6 Before using this crate, first generate the bssl-sys bindings by running this command from the root…
8 cmake -G Ninja -B build -DRUST_BINDINGS="$(gcc -dumpmachine)" && ninja -C build
13 cd rust/bssl-crypto && cargo clippy && cargo deny check && cargo test
/external/boringssl/src/rust/bssl-crypto/
Ddeny.toml4 # * deny - An error will be produced and the check will fail
5 # * warn - A warning will be produced, but the check will not fail
6 # * allow - No warning or error will be produced, though in some cases a note
13 # only the specified targets will be checked when running `cargo deny check`.
23 #{ triple = "x86_64-unknown-linux-musl" },
27 #{ triple = "wasm32-unknown-unknown", features = ["atomics"] },
30 # This section is considered when running `cargo deny check advisories`
32 # https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
35 db-path = "~/.cargo/advisory-db"
37 db-urls = ["https://github.com/rustsec/advisory-db"]
[all …]
DREADME.md1 bssl-crypto
4 Rust bindings to BoringSSL which wrap bssl-sys. Before using this crate, first [set up `bssl-sys`](…
8 cd rust/bssl-crypto && cargo clippy && cargo deny check && cargo test
/external/rust/beto-rust/nearby/
Ddeny.toml4 # * deny - An error will be produced and the check will fail
5 # * warn - A warning will be produced, but the check will not fail
6 # * allow - No warning or error will be produced, though in some cases a note
13 # only the specified targets will be checked when running `cargo deny check`.
23 #{ triple = "x86_64-unknown-linux-musl" },
27 #{ triple = "wasm32-unknown-unknown", features = ["atomics"] },
30 # This section is considered when running `cargo deny check advisories`
32 # https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
35 db-path = "~/.cargo/advisory-db"
37 db-urls = ["https://github.com/rustsec/advisory-db"]
[all …]
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
38 sudo docker build -t nearby_rust:v1.0 .
39 sudo docker run --rm -it nearby_rust:v1.0
46 Running the image runs check-everything.sh to verify all of the targets can
52 sudo docker run -it nearby_rust:v1.0 bash
56 …iner on a remote host](https://code.visualstudio.com/remote/advancedcontainers/develop-remote-host)
[all …]
DDockerfile7 # http://www.apache.org/licenses/LICENSE-2.0
18 RUN apt-get update && apt-get install -y build-essential cmake gcc wget vim \
19 clang git checkinstall zlib1g-dev rapidjson-dev libbenchmark-dev curl \
20 protobuf-compiler pkg-config libdbus-1-dev libssl-dev ninja-build
21 RUN apt upgrade -y
23 # install cargo with default settings
24 RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.68.1
25 ENV PATH="/root/.cargo/bin:${PATH}"
26 RUN cargo install --locked cargo-deny --color never 2>&1
27 RUN cargo install cargo-fuzz --color never 2>&1
[all …]
/external/rust/beto-rust/nearby/presence/ldt_np_adv_ffi/
Ddeny.toml4 # * deny - An error will be produced and the check will fail
5 # * warn - A warning will be produced, but the check will not fail
6 # * allow - No warning or error will be produced, though in some cases a note
13 # only the specified targets will be checked when running `cargo deny check`.
23 #{ triple = "x86_64-unknown-linux-musl" },
27 #{ triple = "wasm32-unknown-unknown", features = ["atomics"] },
30 # This section is considered when running `cargo deny check advisories`
32 # https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
35 db-path = "~/.cargo/advisory-db"
37 db-urls = ["https://github.com/rustsec/advisory-db"]
[all …]
/external/rust/crates/coset/
Ddeny.toml1 # Configuration used for dependency checking with cargo-deny.
4 # https://embarkstudios.github.io/cargo-deny/checks/cfg.html
6 { triple = "x86_64-unknown-linux-gnu" },
7 { triple = "x86_64-apple-darwin" },
8 { triple = "x86_64-pc-windows-msvc" },
11 # Deny all advisories unless explicitly ignored.
13 vulnerability = "deny"
14 unmaintained = "deny"
15 yanked = "deny"
16 notice = "deny"
[all …]
/external/rust/crates/glam/.github/workflows/
Dcargo-deny.yml1 name: cargo-deny
4 cargo-deny:
5 runs-on: ubuntu-latest
7 - uses: actions/checkout@v1
8 - uses: EmbarkStudios/cargo-deny-action@v1
/external/rust/beto-rust/nearby/scripts/
Dbuild-script.sh7 # http://www.apache.org/licenses/LICENSE-2.0
16 # specific components of the beto-rust repo. To load these into your environment
17 # run `source ./scripts/build-script.sh` Then run the functions from root
20 export SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
24 set -e
25 …icense -c "Google LLC" -l apache -ignore=**/android/build/** -ignore=target/** -ignore=**/target/*…
30 set -e
32 cargo deny --workspace check
35 # Checks everything in beto-rust
37 set -e
[all …]
/external/rust/crates/coset/.github/workflows/
Dci.yml6 paths-ignore:
7 - README.md
10 paths-ignore:
11 - README.md
15 runs-on: ubuntu-latest
19 - stable
20 - beta
21 - nightly-2022-01-01
23 - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
24 - uses: actions-rs/toolchain@63eb9591781c46a70274cb3ebdf190fce92702e8 # v1
[all …]
/external/rust/crates/glam/
Ddeny.toml2 # criterion is currently failing cargo-deny due to serde_cbor being unmaintained
6 multiple-versions = "deny"
7 deny = []
8 skip-tree = [
9 # ignore criterion dev-dependency that often have duplicate dependencies internally
14 unlicensed = "deny"
16 "Apache-2.0",
21 "Unicode-DFS-2016",
22 ], name = "unicode-ident" },
/external/rust/pica/.github/workflows/
Dbuild.yml15 runs-on: ${{ matrix.os }}
18 os: [macos-latest, ubuntu-latest, windows-latest]
20 - uses: actions/checkout@v3
21 - name: Install Rust 1.67.1
22 uses: actions-rs/toolchain@v1
27 - name: Build
28 run: cargo build
29 - name: Test
30 run: cargo test -- --skip uci_packets
31 - name: Fmt
[all …]
/external/rust/crates/ahash/
Dbuild.rs1 #![deny(warnings)]
6 println!("cargo:rerun-if-changed=build.rs"); in main()
8 println!("cargo:rustc-cfg=feature=\"specialize\""); in main()
11 println!("cargo:rustc-cfg=feature=\"stdsimd\""); in main()
21 println!("cargo:rustc-cfg=feature=\"folded_multiply\""); in main()
/external/rust/cxx/
Dbuild.rs9 .cpp_link_stdlib(None) // linked via link-cplusplus crate in main()
14 println!("cargo:rerun-if-changed=src/cxx.cc"); in main()
15 println!("cargo:rerun-if-changed=include/cxx.h"); in main()
16 println!("cargo:rustc-cfg=built_with_cargo"); in main()
20 println!("cargo:HEADER={}", cxx_h.to_string_lossy()); in main()
25 println!("cargo:warning=The cxx crate requires a rustc version 1.48.0 or newer."); in main()
27 "cargo:warning=You appear to be building with: {}", in main()
33 // #![deny(unsafe_op_in_unsafe_fn)]. in main()
34 // https://github.com/rust-lang/rust/issues/71668 in main()
35 println!("cargo:rustc-cfg=no_unsafe_op_in_unsafe_fn_lint"); in main()
[all …]
/external/rust/crates/no-panic/.github/workflows/
Dci.yml13 RUSTFLAGS: -Dwarnings
23 runs-on: ubuntu-latest
25 fail-fast: false
28 timeout-minutes: 45
30 - uses: actions/checkout@v3
31 - uses: dtolnay/rust-toolchain@master
34 - name: Enable deny(non_exhaustive_omitted_patterns)
35 run: echo RUSTFLAGS=$(RUSTFLAGS)\ --cfg=exhaustive >> $GITHUB_ENV
37 - name: Enable type layout randomization
38 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
[all …]
/external/rust/crates/semver/
Dbuild.rs6 println!("cargo:rerun-if-changed=build.rs"); in main()
16 // https://github.com/rust-lang/rust/issues/50907 in main()
17 println!("cargo:rustc-cfg=no_exhaustive_int_match"); in main()
22 // https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html#the-alloc-crate-is-stable in main()
23 println!("cargo:rustc-cfg=no_alloc_crate"); in main()
28 // https://doc.rust-lang.org/std/vec/struct.Vec.html#method.new in main()
29 println!("cargo:rustc-cfg=no_const_vec_new"); in main()
34 …// https://blog.rust-lang.org/2019/12/19/Rust-1.40.0.html#non_exhaustive-structs-enums-and-variants in main()
35 println!("cargo:rustc-cfg=no_non_exhaustive"); in main()
40 // https://doc.rust-lang.org/std/primitive.str.html#method.strip_prefix in main()
[all …]
/external/rust/crates/ciborium-io/patches/
Dstd.diff1 diff --git a/src/lib.rs b/src/lib.rs
3 --- a/src/lib.rs
5 @@ -19,6 +19,8 @@
6 #![deny(clippy::all)]
7 #![deny(clippy::cargo)]
8 -
/external/rust/crates/static_assertions/src/
Dlib.rs1 …aw.githubusercontent.com/nvzqz/static-assertions-rs/assets/Banner.png)](https://github.com/nvzqz/s…
7 //! <a href="https://github.com/nvzqz/static-assertions-rs/actions?query=workflow%3ACI">
8 //! <img src="https://github.com/nvzqz/static-assertions-rs/workflows/CI/badge.svg" alt="Bu…
10 //! <img src="https://img.shields.io/badge/rustc-^1.37.0-blue.svg" alt="rustc ^1.37.0">
16 //! _All_ checks provided by this crate are performed at [compile-time]. This
25 //! following to your project's [`Cargo.toml`]:
57 //! It can be enabled via the `proc` feature flag in your [`Cargo.toml`]:
71 //! See [`CHANGELOG.md`](https://github.com/nvzqz/static-assertions-rs/blob/master/CHANGELOG.md)
85 //! <img src="https://buymecoffee.intm.org/img/button-paypal-white.png" alt="Buy me a coffee" h…
89 …[procedural macros]: https://doc.rust-lang.org/book/ch19-06-macros.html#procedural-macros-for-gene…
[all …]
/external/rust/crates/grpcio/.github/workflows/
Dci.yml7 - master
9 - cron: '0 22 * * *'
13 …# Some of the bindgen tests generate "deref-nullptr" warnings, see https://github.com/rust-lang/ru…
14 RUSTFLAGS: "--deny=warnings --allow deref-nullptr"
18 Linux-Format:
19 name: Linux-Format
20 runs-on: ubuntu-latest
22 - uses: actions/checkout@v2
23 - run: sudo apt-get install -y clang-tidy-9
24- run: sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-9 100
[all …]
/external/rust/crates/libc/
Dbuild.rs6 // Avoid unnecessary re-building. in main()
7 println!("cargo:rerun-if-changed=build.rs"); in main()
17 "cargo:warning=\"libc's use_std cargo feature is deprecated since libc 0.2.55; \ in main()
18 please consider using the `std` cargo feature instead\"" in main()
29 println!("cargo:rustc-cfg=freebsd10") in main()
31 Some(11) if libc_ci => println!("cargo:rustc-cfg=freebsd11"), in main()
32 Some(12) if libc_ci => println!("cargo:rustc-cfg=freebsd12"), in main()
33 Some(13) if libc_ci => println!("cargo:rustc-cfg=freebsd13"), in main()
34 Some(14) if libc_ci => println!("cargo:rustc-cfg=freebsd14"), in main()
35 Some(_) | None => println!("cargo:rustc-cfg=freebsd11"), in main()
[all …]
/external/rust/crates/protobuf-codegen/2.27.1/src/
Dlib.rs4 //! and a `protoc-gen-rust` `protoc` plugin.
7 //! * provides `protoc-gen-rust` plugin for `protoc` command
11 //! (except for `protoc-gen-rust` binary).
14 //! * `protoc-gen-rust` plugin for `protoc` or
15 //! * [`protoc-rust`](https://docs.rs/protoc) crate
17 //! * [`protobuf-codegen-pure`](https://docs.rs/protobuf-codegen-pure) crate,
18 //! similar API to `protoc-rust`, but uses pure rust parser of `.proto` files.
20 //! # `protoc-gen-rust` plugin for `protoc`
22 //! When non-cargo build system is used, consider using standard protobuf code generation pattern:
24 //! When `protoc` is invoked with `--rust_out=` option, it invokes `protoc-gen-rust` plugin.
[all …]
/external/rust/crates/static_assertions/proc/src/
Dlib.rs1 …aw.githubusercontent.com/nvzqz/static-assertions-rs/assets/Banner.png)](https://github.com/nvzqz/s…
7 //! <a href="https://travis-ci.org/nvzqz/static-assertions-rs">
8 //! <img src="https://travis-ci.org/nvzqz/static-assertions-rs.svg?branch=master" alt="Buil…
13 //! Procedural macro [compile-time] assertions as an extension of
24 //! following to your project's [`Cargo.toml`]:
41 //! Add the following to your project's [`Cargo.toml`]:
68 //! <img src="https://buymecoffee.intm.org/img/button-paypal-white.png" alt="Buy me a coffee" h…
71 //! [`static_assertions`]: https://github.com/nvzqz/static-assertions-rs
73 //! [`Cargo.toml`]: https://doc.rust-lang.org/cargo/reference/manifest.html
74 //! [compile-time]: https://en.wikipedia.org/wiki/Compile_time
[all …]
/external/rust/crates/protobuf-codegen/src/
Dlib.rs8 //! * using `protoc` command line tool and `protoc-gen-rust` plugin
14 //! If you are using non-cargo build system (like Bazel), you might prefer
15 //! using `protoc-gen-rust` plugin for `protoc`.
17 //! If you build with `cargo`, you probably want to use `Codegen` from this crate.
22 //! * `protoc`-based parser (`protoc` is a command like utility from Google protobuf)
23 //! * pure rust parser (`protobuf-parse` crate)
25 //! `protoc`-based parser is expected to parse `.proto` files very correctly:
28 //! While there are no known bugs in `protobuf-parse`, it is not tested very well.
29 //! Also `protobuf-parse` does not implement certain rarely used features of `.proto` parser,
34 //! [`protoc-bin-vendored`](https://docs.rs/protoc-bin-vendored) crate.
[all …]

1234