Home
last modified time | relevance | path

Searched +full:rust +full:- +full:embedded (Results 1 – 25 of 103) sorted by relevance

12345

/external/rust/crates/bitflags/.github/workflows/
Drust.yml1 name: Rust
11 runs-on: ubuntu-latest
13 fail-fast: true
15 rust:
16 - stable
17 - beta
18 - nightly
19 - 1.46.0
21 - name: Checkout sources
24 - name: Install Rust toolchain
[all …]
/external/rust/crates/log/.github/workflows/
Dmain.yml7 runs-on: ${{ matrix.os }}
12 - build: stable
13 os: ubuntu-latest
14 rust: stable
15 - build: beta
16 os: ubuntu-latest
17 rust: beta
18 - build: nightly
19 os: ubuntu-latest
20 rust: nightly
[all …]
/external/rust/crates/byteorder/.github/workflows/
Dci.yml6 - master
8 - cron: '00 01 * * *'
13 # For some builds, we use cross to test on 32-bit and big-endian
16 # When CARGO is set to CROSS, TARGET is set to `--target matrix.target`.
18 runs-on: ${{ matrix.os }}
22 - pinned
23 - stable
24 - stable-32
25 - stable-mips
26 - beta
[all …]
/external/rust/crates/regex-automata/.github/workflows/
Dci.yml6 - master
8 - cron: '00 01 * * *'
13 # For some builds, we use cross to test on 32-bit and big-endian
16 # When CARGO is set to CROSS, TARGET is set to `--target matrix.target`.
18 runs-on: ${{ matrix.os }}
22 - pinned
23 - stable
24 - stable-32
25 - stable-mips
26 - stable-thumb
[all …]
/external/rust/crates/half/
DREADME.md1 # `f16` and `bf16` floating point types for Rust
2 …com/starkat99/half-rs/actions/workflows/rust.yml/badge.svg?branch=master)](https://github.com/star…
4 This crate implements a half-precision floating point `f16` type for Rust implementing the IEEE
5 754-2008 standard [`binary16`](https://en.wikipedia.org/wiki/Half-precision_floating-point_format)
7 [`bfloat16`](https://en.wikipedia.org/wiki/Bfloat16_floating-point_format) format.
11 The `f16` and `bf16` types provides conversion operations as a normal Rust floating point type, but
16 This crate provides [`no_std`](https://rust-embedded.github.io/book/intro/no-std.html) support by
17 default so can easily be used in embedded code where a smaller float format is most useful.
19 *Requires Rust 1.58 or greater.* If you need support for older versions of Rust, use 1.x versions of
26 - **`serde`** - Implement `Serialize` and `Deserialize` traits for `f16` and `bf16`. This adds a
[all …]
/external/rust/beto-rust/nearby/crypto/
DREADME.md3 A crypto provider that abstracts over different crypto implementations, mainly the Rust
17 Abstraction on top plain AES, including AES-CTR and AES-CBC.
19 Since we know we'll have multiple AES implementations in practice (an embedded
26 Implementations of `crypto_provider` types using the convenient pure-Rust primitives
27 from [Rust Crypto](https://github.com/RustCrypto).
32 [openSSL Rust crate](https://github.com/sfackler/rust-openssl), which is a Rust
38 translates to using the `openssl` and `openssl-sys` crates' `unstable_boringssl` feature. Since the
39 depenedency `bssl-sys` is not on crates.io, to test the BoringSSL integration, you'll need to run
40 `scripts/prepare-boringssl.sh`, which clones BoringSSL and the Android version of `rust-openssl`.
42 * Run `scripts/prepare-boringssl.sh` to setup the workspace
[all …]
/external/rust/crates/aho-corasick/.github/workflows/
Dci.yml6 - master
8 - cron: '00 01 * * *'
13 # For some builds, we use cross to test on 32-bit and big-endian
16 # When CARGO is set to CROSS, TARGET is set to `--target matrix.target`.
18 runs-on: ${{ matrix.os }}
22 - pinned
23 - stable
24 - stable-32
25 - stable-mips
26 - beta
[all …]
/external/rust/crates/hex/
DREADME.md5 …ions)](https://github.com/KokaKiwi/rust-hex/workflows/Test%20hex/badge.svg?master)](https://github…
13 ```rust
21 ```rust
39 [`no_std`](https://rust-embedded.github.io/book/intro/no-std.html)
44 hex = { version = "0.4", default-features = false }
49 - `std`:
50 Enabled by default. Add support for Rust's libstd types.
51 - `serde`:
59 - Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/…
60 - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
[all …]
/external/rust/crates/managed/
DCargo.toml9 # issue against the rust-lang/cargo repository. If you're
18 homepage = "https://github.com/m-labs/rust-managed"
22 categories = ["embedded"]
24 repository = "https://github.com/m-labs/rust-managed.git"
26 opt-level = 1
27 codegen-units = 1
DCargo.toml.orig7 homepage = "https://github.com/m-labs/rust-managed"
8 repository = "https://github.com/m-labs/rust-managed.git"
11 categories = ["embedded"]
22 opt-level = 1
23 codegen-units = 1
/external/angle/build/config/coverage/
DBUILD.gn2 # Use of this source code is governed by a BSD-style license that can be
7 import("//build/config/rust.gni")
15 ldflags += [ "-fprofile-instr-generate" ]
21 # However... some build targets have no C++ object file (they have Rust
30 "-fprofile-instr-generate",
31 "-fcoverage-mapping",
34 # coverage mapping data embedded in the test binaries, and the reduction
37 "-mllvm",
38 "-limited-coverage-experimental=true",
41 # Rust coverage is gated on using the Chromium-built Rust toolchain as it
[all …]
/external/cronet/build/config/coverage/
DBUILD.gn2 # Use of this source code is governed by a BSD-style license that can be
6 import("//build/config/rust.gni")
15 ldflags += [ "-fprofile-instr-generate" ]
19 "-fprofile-instr-generate",
20 "-fcoverage-mapping",
23 # coverage mapping data embedded in the test binaries, and the reduction
26 "-mllvm",
27 "-limited-coverage-experimental=true",
30 # Rust coverage is gated on using the Chromium-built Rust toolchain as it
35 rustflags = [ "-Cinstrument-coverage" ]
[all …]
/external/rust/crates/gdbstub/
DREADME.md5 [![](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](./LICENSE)
7-to-integrate implementation of the [GDB Remote Serial Protocol](https://sourceware.org/gdb/online…
9 …rful guest debugging support to your emulator / hypervisor / debugger / embedded project. By imple…
11-overhead-protocol-extensions) (IDETs) to expose fine-grained, zero-cost control over enabled GDB …
15 - [Documentation (gdbstub)](https://docs.rs/gdbstub)
16 - [Documentation (gdbstub_arch)](https://docs.rs/gdbstub_arch)
17 - [Changelog](CHANGELOG.md)
18 - [0.5 to 0.6 Transition Guide](docs/transition_guide.md)
22 - **Excellent Ergonomics**
23- Instead of simply exposing the underlying GDB protocol "warts and all", `gdbstub` tries to abs…
[all …]
/external/rust/crates/nom/src/multi/
Dmod.rs14 /// Don't pre-allocate more than 64KiB when calling `Vec::with_capacity`.
16 /// Pre-allocating memory is a nice optimization but count fields can't
26 /// Repeats the embedded parser, gathering the results in a `Vec`.
37 /// ```rust
42 /// fn parser(s: &str) -> IResult<&str, Vec<&str>> {
53 pub fn many0<I, O, E, F>(mut f: F) -> impl FnMut(I) -> IResult<I, Vec<O>, E> in many0()
80 /// Runs the embedded parser, gathering the results in a `Vec`.
92 /// ```rust
97 /// fn parser(s: &str) -> IResult<&str, Vec<&str>> {
108 pub fn many1<I, O, E, F>(mut f: F) -> impl FnMut(I) -> IResult<I, Vec<O>, E> in many1()
[all …]
/external/pigweed/docs/
Dmodule_guides.rst1 .. _docs-module-guides:
6 Pigweed is a collection of embedded-focused and embedded-related modules.
7 Modules may contain code from multiple languages, including C, C++, Go, Rust,
/external/angle/build/rust/
Drust_unit_test.gni2 # Use of this source code is governed by a BSD-style license that can be
5 import("//build/config/rust.gni")
6 import("//build/rust/rust_unit_tests_group.gni")
8 # Defines a Rust unit test.
31 # "//third_party/rust/test_utils/v1:lib",
39 # depends on this template in order to build embedded unit tests
58 _rustflags += [ "--cfg=feature=\"${i}\"" ]
66 _configs += [ "//build/rust:edition_${_edition}" ]
72 # TODO(crbug.com/1256930) - verify this is correct
90 # TODO(crbug.com/gn/146): Allow Rust executables to depend on C/C++ source
[all …]
/external/cronet/build/rust/
Drust_unit_test.gni2 # Use of this source code is governed by a BSD-style license that can be
5 import("//build/config/rust.gni")
6 import("//build/rust/rust_unit_tests_group.gni")
8 # Defines a Rust unit test.
31 # "//third_party/rust/test_utils/v1:lib",
39 # depends on this template in order to build embedded unit tests
58 _rustflags += [ "--cfg=feature=\"${i}\"" ]
66 _configs += [ "//build/rust:edition_${_edition}" ]
72 # TODO(crbug.com/1256930) - verify this is correct
90 # TODO(crbug.com/gn/146): Allow Rust executables to depend on C/C++ source
[all …]
/external/rust/crates/der-parser/
DUPGRADING.md6 - `Tagged` for explicit tagged objects,
7 - `Optional` to simplify writing subparsers with only `BerObject`
25 -fn parse_struct01(i: &[u8]) -> BerResult<(BerObjectHeader,MyStruct)> {
26 +fn parse_struct01(i: &[u8]) -> BerResult<MyStruct> {
37 Now, a header is always created and embedded in the BER object, with the following changes:
39 - To access these fields, use the header: `obj.tag` becomes `obj.header.tag`, etc.
40 - `BerObject::to_header()` is now deprecated
41 - The `len` field is now public. However, in some cases it can be 0 (when creating an object, 0 mea…
42 - As a consequence, `PartialEq` on BER objects and headers compare `len` only if set in both objects
65 OID objects have been refactored, and are now zero-copy. This has several consequences:
[all …]
/external/rust/crates/der/
DMETADATA2 # Usage: tools/external_updater/updater.sh update rust/crates/der
6 description: "Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules (DER) …
14 value: "https://static.crates.io/crates/der/der-0.6.1.crate"
DCargo.toml.orig5 Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules
10 license = "Apache-2.0 OR MIT"
12 categories = ["cryptography", "data-structures", "encoding", "no-std", "parser-implementations"]
16 rust-version = "1.57"
19 const-oid = { version = "0.9", optional = true, path = "../const-oid" }
22 pem-rfc7468 = { version = "0.6", optional = true, path = "../pem-rfc7468" }
23 time = { version = "0.3.4", optional = true, default-features = false }
24 zeroize = { version = "1.5", optional = true, default-features = false, features = ["alloc"] }
26 [dev-dependencies]
27 hex-literal = "0.3.3"
[all …]
/external/rust/crates/webpki/
DREADME.md17 including embedded (IoT) applications, mobile apps, desktop applications, and
22 webpki is written in [Rust](https://www.rust-lang.org/) and uses
29 Library](https://briansmith.org/insanity-pkix).
31 The Rust compiler statically guarantees there are no buffer overflows,
32 uses-after-free, double-frees, data races, etc. in webpki. webpki takes
33 advantage of Rust's borrow checker to ensure that its **zero-copy parsing**
45 * Short-lived certificate, OCSP stapling, and CRLSet support.
48 * A C language wrapper interface to allow using webpki in non-Rust
57 See https://github.com/ctz/rustls#example-code for an example of using
/external/rust/crates/minimal-lexical/.github/workflows/
DOSX.yml10 name: Rust ${{matrix.target}}
11 runs-on: macos-latest
13 fail-fast: false
16 # iOS targets don't work, since rust-embedded doesn't provide images.
17 - x86_64-apple-darwin
20 - uses: actions/checkout@v2
21 - uses: actions-rs/toolchain@v1
26 - uses: actions-rs/cargo@v1
28 use-cross: true
30 args: --target ${{matrix.target}}
[all …]
/external/pigweed/
DWORKSPACE7 # https://www.apache.org/licenses/LICENSE-2.0
35 …mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.6/platforms-0.0.6.tar.gz",
36 "https://github.com/bazelbuild/platforms/releases/download/0.0.6/platforms-0.0.6.tar.gz",
53 path = "pigweed/pw_transfer_test_binaries/${os=linux}-${arch=amd64}",
54 …tag = "version:pw_transfer_test_binaries_528098d588f307881af83f769207b8e6e1b57520-linux-amd64-cipd…
63 strip_prefix = "rules_python-0.6.0",
74 name = "bazel_skylib", # 2022-09-01
76 strip_prefix = "bazel-skylib-1.3.0",
77 urls = ["https://github.com/bazelbuild/bazel-skylib/archive/refs/tags/1.3.0.zip"],
90 strip_prefix = "googletest-1.13.0",
[all …]
/external/rust/crates/zeroize/
DREADME.md3 [![Crate][crate-image]][crate-link]
4 [![Docs][docs-image]][docs-link]
5 ![Apache 2.0/MIT Licensed][license-image]
6 ![MSRV][rustc-image]
7 [![Build Status][build-image]][build-link]
20 [Zeroing memory securely is hard] - compilers optimize for performance, and
26 and [core::sync::atomic] memory fences to provide easy-to-use, portable
27 zeroing behavior which works on all of Rust's core number types and slices
28 thereof, implemented in pure Rust with no usage of FFI or assembly.
30 - No insecure fallbacks!
[all …]
/external/rust/crates/crc32fast/
DREADME.md1 # crc32fast [![Build Status][travis-img]][travis] [![Crates.io][crates-img]][crates] [![Documentati…
3 [travis-img]: https://travis-ci.com/srijs/rust-crc32fast.svg?branch=master
4 [travis]: https://travis-ci.com/srijs/rust-crc32fast
5 [crates-img]: https://img.shields.io/crates/v/crc32fast.svg
7 [docs-img]: https://docs.rs/crc32fast/badge.svg
10 _Fast, SIMD-accelerated CRC32 (IEEE) checksum computation_
16 For simple use-cases, you can call the `hash` convenience function to
19 ```rust
25 For use-cases that require more flexibility or performance, for example when
28 ```rust
[all …]

12345