| /external/rust/crates/serde_derive/ |
| D | README.md | 1 …]][actions] [![Latest Version]][crates.io] [![serde: rustc 1.19+]][Rust 1.19] [![serde_derive: rus… 3 [Build Status]: https://img.shields.io/github/actions/workflow/status/serde-rs/serde/ci.yml?branch=… 4 [actions]: https://github.com/serde-rs/serde/actions?query=branch%3Amaster 7 [serde: rustc 1.19+]: https://img.shields.io/badge/serde-rustc_1.19+-lightgray.svg 8 [serde_derive: rustc 1.56+]: https://img.shields.io/badge/serde_derive-rustc_1.56+-lightgray.svg 9 [Rust 1.19]: https://blog.rust-lang.org/2017/07/20/Rust-1.19.html 10 [Rust 1.56]: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html 14 --- 18 - [An overview of Serde](https://serde.rs/) 19 - [Data formats supported by Serde](https://serde.rs/#data-formats) [all …]
|
| /external/rust/crates/serde/ |
| D | README.md | 1 …]][actions] [![Latest Version]][crates.io] [![serde: rustc 1.19+]][Rust 1.19] [![serde_derive: rus… 3 [Build Status]: https://img.shields.io/github/actions/workflow/status/serde-rs/serde/ci.yml?branch=… 4 [actions]: https://github.com/serde-rs/serde/actions?query=branch%3Amaster 7 [serde: rustc 1.19+]: https://img.shields.io/badge/serde-rustc_1.19+-lightgray.svg 8 [serde_derive: rustc 1.56+]: https://img.shields.io/badge/serde_derive-rustc_1.56+-lightgray.svg 9 [Rust 1.19]: https://blog.rust-lang.org/2017/07/20/Rust-1.19.html 10 [Rust 1.56]: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html 14 --- 18 - [An overview of Serde](https://serde.rs/) 19 - [Data formats supported by Serde](https://serde.rs/#data-formats) [all …]
|
| /external/rust/crates/chrono/.github/workflows/ |
| D | test.yml | 4 # It's really `--all-features`, but not adding the mutually exclusive features from rkyv 5 …ALL_NON_EXCLUSIVE_FEATURES: --features "default unstable-locales rkyv-32 rkyv-validation rustc-ser… 16 os: [ubuntu-latest, macos-latest, windows-latest] 17 tz: ["ACST-9:30", "EST4", "UTC0", "Asia/Katmandu"] 18 runs-on: ${{ matrix.os }} 20 - uses: actions/checkout@v4 21 - uses: dtolnay/rust-toolchain@stable 22 - uses: Swatinem/rust-cache@v2 23 - run: cargo test ${{ env.ALL_NON_EXCLUSIVE_FEATURES }} --color=always -- --color=always 31 os: [ubuntu-latest] [all …]
|
| D | codecov.yml | 4 # It's really `--all-features`, but not adding the mutually exclusive features from rkyv 5 …ALL_NON_EXCLUSIVE_FEATURES: --features "default unstable-locales rkyv-64 rkyv-validation rustc-ser… 12 # Run code coverage using cargo-llvm-cov then upload to codecov.io 14 name: llvm-cov 15 runs-on: ubuntu-latest 19 - uses: actions/checkout@v4 20 # nightly is required for --doctests, see cargo-llvm-cov#2 21 - name: Install Rust (nightly) 23 - name: Install cargo-llvm-cov 24 uses: taiki-e/install-action@cargo-llvm-cov [all …]
|
| D | lint.yml | 4 # It's really `--all-features`, but not adding the mutually exclusive features from rkyv 5 …ALL_NON_EXCLUSIVE_FEATURES: --features "default unstable-locales rkyv-64 rkyv-validation rustc-ser… 14 runs-on: ubuntu-latest 17 - uses: actions/checkout@v4 18 - uses: dtolnay/rust-toolchain@stable 20 targets: x86_64-unknown-linux-gnu, x86_64-pc-windows-msvc 21 - uses: Swatinem/rust-cache@v2 22 - 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 [all …]
|
| /external/rust/crates/chrono/ |
| D | CHANGELOG.md | 14 * Restore support for x86_64-fortanix-unknown-sgx 18 * Fix a name resolution error in wasm-bindgen code introduced by removing the dependency on time 47 `unstable-locales` feature. 78 @fx-kirin) 84 * Migrate to github actions from travis-ci, make the overall CI experience more comprehensible, 92 `dt.to_string().parse::<DateTime<Utc>>()` now correctly works on round-trip. 113 * Putting some functionality behind an `alloc` feature to improve no-std 115 `no-default-features` *and* using any of the functions that require alloc 116 support (i.e. any of the string-generating functions like `to_rfc3339`) you 123 * Significant improvements to no-std and alloc support (This should also make [all …]
|
| D | README.md | 1 [Chrono][docsrs]: Timezone-aware date and time handling 4 [![Chrono GitHub Actions][gh-image]][gh-checks] 5 [![Chrono on crates.io][cratesio-image]][cratesio] 6 [![Chrono on docs.rs][docsrs-image]][docsrs] 7 [![Chat][discord-image]][discord] 8 [![codecov.io][codecov-img]][codecov-link] 10 [gh-image]: https://github.com/chronotope/chrono/actions/workflows/test.yml/badge.svg?branch=main 11 [gh-checks]: https://github.com/chronotope/chrono/actions/workflows/test.yml?query=branch%3Amain 12 [cratesio-image]: https://img.shields.io/crates/v/chrono.svg 14 [docsrs-image]: https://docs.rs/chrono/badge.svg [all …]
|
| D | Cargo.toml.orig | 9 categories = ["date-and-time"] 11 license = "MIT OR Apache-2.0" 14 rust-version = "1.61.0" 24 winapi = ["windows-targets"] 26 clock = ["winapi", "iana-time-zone", "android-tzdata", "now"] 29 wasmbind = ["wasm-bindgen", "js-sys"] 30 unstable-locales = ["pure-rust-locales"] 31 # Note that rkyv-16, rkyv-32, and rkyv-64 are mutually exclusive. 33 rkyv-16 = ["dep:rkyv", "rkyv?/size_16"] 34 rkyv-32 = ["dep:rkyv", "rkyv?/size_32"] [all …]
|
| D | Cargo.toml | 14 rust-version = "1.61.0" 27 categories = ["date-and-time"] 28 license = "MIT OR Apache-2.0" 36 "unstable-locales", 38 rustdoc-args = [ 39 "--cfg", 54 [dependencies.num-traits] 56 default-features = false 58 [dependencies.pure-rust-locales] 65 default-features = false [all …]
|
| /external/rust/crates/serde_json/ |
| D | README.md | 1 …ON   [![Build Status]][actions] [![Latest Version]][crates.io] [![Rustc Version 1.36+]][rustc] 3 [Build Status]: https://img.shields.io/github/actions/workflow/status/serde-rs/json/ci.yml?branch=m… 4 [actions]: https://github.com/serde-rs/json/actions?query=branch%3Amaster 7 [Rustc Version 1.36+]: https://img.shields.io/badge/rustc-1.36+-lightgray.svg 8 [rustc]: https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html 12 --- 21 - [JSON API documentation](https://docs.rs/serde_json) 22 - [Serde API documentation](https://docs.rs/serde) 23 - [Detailed documentation about Serde](https://serde.rs/) 24 - [Setting up `#[derive(Serialize, Deserialize)]`](https://serde.rs/derive.html) [all …]
|
| /external/rust/crates/tinyvec/ |
| D | Cargo.toml.orig | 3 description = "`tinyvec` provides 100% safe vec-like data structures." 7 license = "Zlib OR Apache-2.0 OR MIT" 8 keywords = ["vec", "no_std", "no-std"] 9 categories = ["data-structures", "no-std"] 14 # Provides `Serialize` and `Deserialize` implementations 15 serde = { version = "1.0", optional = true, default-features = false } 32 # features that require rustc 1.40 33 # use Vec::append if possible in TinyVec::append - 1.37 34 # DoubleEndedIterator::nth_back - 1.40 37 # features that require rustc 1.55 [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/private/ |
| D | splicing_utils.bzl | 1 """Utilities directly related to the `splicing` step of `cargo-bazel`.""" 8 [rv]: https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions 23 """Ensure the key value of the data given are kebab-case 29 dict: The same `data` but with kebab-case keys 32 key.lower().replace("_", "-"): val 39 [cargo_config]: https://doc.rust-lang.org/cargo/reference/config.html 40 [cargo_toml]: https://doc.rust-lang.org/cargo/reference/manifest.html 54 # Ensure the data is using kebab-case as that's what `cargo_toml::DependencyDetail` expects. 59 # Auto-generated splicier manifest values 69 …"""Strips leading '@'s for stringified labels in the main repository for backwards-comaptibility r… [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/src/ |
| D | lockfile.rs | 1 //! Utility module for interacting with the cargo-bazel lockfile. 12 use serde::{Deserialize, Serialize}; 26 ) -> Result<Context> { in lock_context() 40 pub(crate) fn write_lockfile(lockfile: Context, path: &Path, dry_run: bool) -> Result<()> { in write_lockfile() 57 #[derive(Debug, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord, Clone)] 67 ) -> Result<Self> { in new() 104 ) -> Self { in compute() 133 pub(crate) fn bin_version(binary: &Path) -> Result<String> { in bin_version() 138 .arg("--version") in bin_version() 156 // https://github.com/rust-lang/cargo/issues/10547 in bin_version() [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/src/utils/ |
| D | target_triple.rs | 3 use serde::{Deserialize, Serialize}; 5 #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)] 11 pub(crate) fn from_bazel(bazel: String) -> Self { in from_bazel() 15 pub(crate) fn to_bazel(&self) -> String { in to_bazel() 19 pub(crate) fn to_cargo(&self) -> String { in to_cargo() 20 // While Bazel is NixOS aware (via `@platforms//os:nixos`), `rustc` in to_cargo() 29 fn fmt(&self, f: &mut Formatter<'_>) -> Result { in fmt()
|
| /external/rust/crates/rand_xorshift/ |
| D | README.md | 3 [](https://travis-ci.org/rust-random/rng… 4 …i.appveyor.com/api/projects/status/github/rust-random/rngs?svg=true)](https://ci.appveyor.com/proj… 6 [](https://rust-random.github.io/book/) 7 [](https://rust-random.github.io/rand/ran… 9 [](https://github.c… 23 - [API documentation (master)](https://rust-random.github.io/rand/rand_xorshift) 24 - [API documentation (docs.rs)](https://docs.rs/rand_xorshift) 25 - [Changelog](https://github.com/rust-random/rngs/blob/master/rand_xorshift/CHANGELOG.md) 35 The `serde1` feature includes implementations of `Serialize` and `Deserialize` 44 See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT), and
|
| /external/rust/crates/chrono/src/naive/ |
| D | mod.rs | 16 #[cfg(feature = "rustc-serialize")] 31 /// annotation][1] to serialize as something other than the default [RFC 34 /// [1]: https://serde.rs/attributes.html#field-attributes
|
| /external/rust/crates/half/ |
| D | CHANGELOG.md | 8 ## [2.2.1] - 2023-01-08 <a name="2.2.1"></a> 10 - Reduced unnecessary bounds checks for SIMD operations on slices. By [@Shnatsel]. 11 - Further slice conversion optimizations for slices. Resolves [#66]. 13 ## [2.2.0] - 2022-12-30 <a name="2.2.0"></a> 15 - Add `serialize_as_f32` and `serialize_as_string` functions when `serde` cargo feature is enabled. 18 - Deserialize now supports deserializing from `f32`, `f64`, and string values in addition to its 22 - Add `#[inline]` on fallback functions, which improved conversion execution on non-nightly rust 25 ## [2.1.0] - 2022-07-18 <a name="2.1.0"></a> 27 - Add support for target_arch `spirv`. Some traits and functions are unavailble on this 28 architecture. By [@charles-r-earp]. [all …]
|
| /external/rust/crates/rand_core/ |
| D | README.md | 3 …](https://… 5 [](https://rust-random.github.io/book/) 6 [](https://rust-random.github.io/rand/ran… 8 [](https://github.c… 17 The main [rand] crate re-exports most items defined in this crate, along with 25 - [API documentation (master)](https://rust-random.github.io/rand/rand_core) 26 - [API documentation (docs.rs)](https://docs.rs/rand_core) 27 - [Changelog](https://github.com/rust-random/rand/blob/master/rand_core/CHANGELOG.md) 36 - base random number generator traits 37 - error-reporting types [all …]
|
| /external/rust/crates/toml/src/ |
| D | lib.rs | 1 //! A [serde]-compatible [TOML]-parsing library 55 //! implementations of the `Deserialize`, `Serialize`, `Deserializer`, and 59 //! * `Serialize for Table` 61 //! * `Serialize for Value` 63 //! * `Serialize for Datetime` 69 //! This means that you can use Serde to deserialize/serialize the 107 //! You can serialize types in a similar fashion: 111 //! use serde::Serialize; 113 //! #[derive(Serialize)] 120 //! #[derive(Serialize)] [all …]
|
| /external/rust/crates/tinyvec/src/ |
| D | lib.rs | 12 //! `tinyvec` provides 100% safe vec-like data structures. 16 //! is an array-backed storage. You can push values into the array and pop them 19 //! Similarly, there is also a [`SliceVec`] type available, which is a vec-like 41 //! * `serde` provides a `Serialize` and `Deserialize` implementation for 57 //! * The `1.0` series of the crate works with Rustc `1.34.0` or later, though 58 //! you still need to have Rustc `1.36.0` to use the `alloc` feature. 83 #[doc(hidden)] // re-export for macros 105 fn take<T: Default>(from: &mut T) -> T { in take()
|
| /external/rust/crates/strum_macros/src/ |
| D | lib.rs | 33 /// auto-derives `std::str::FromStr` on the enum (for Rust 1.34 and above, `std::convert::TryFrom<&… 35 /// This can be overridden using `serialize="DifferentName"` or `to_string="DifferentName"` 67 /// #[strum(serialize = "blue", serialize = "b")] 84 /// fn from_str(s: &str) -> ::core::result::Result<Color, Self::Err> { 103 /// // was disabled for parsing = returns parse-error 112 pub fn from_string(input: proc_macro::TokenStream) -> proc_macro::TokenStream { in from_string() 134 /// #[strum(serialize = "redred")] 143 /// // uses the serialize string for Display 157 pub fn as_ref_str(input: proc_macro::TokenStream) -> proc_macro::TokenStream { in as_ref_str() 178 /// #[strum(serialize_all = "kebab-case")] [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/3rdparty/crates/ |
| D | BUILD.num-complex-0.1.43.bazel | 3 # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To 33 "rustc-serialize", 38 "--cap-lints=allow", 41 "cargo-bazel", 42 "crate-name=num-complex", 48 "@rules_rust//rust/platform:aarch64-apple-darwin": [], 49 "@rules_rust//rust/platform:aarch64-apple-ios": [], 50 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], 51 "@rules_rust//rust/platform:aarch64-fuchsia": [], 52 "@rules_rust//rust/platform:aarch64-linux-android": [], [all …]
|
| D | BUILD.num-rational-0.1.42.bazel | 3 # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To 34 "num-bigint", 35 "rustc-serialize", 40 "--cap-lints=allow", 43 "cargo-bazel", 44 "crate-name=num-rational", 50 "@rules_rust//rust/platform:aarch64-apple-darwin": [], 51 "@rules_rust//rust/platform:aarch64-apple-ios": [], 52 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], 53 "@rules_rust//rust/platform:aarch64-fuchsia": [], [all …]
|
| D | BUILD.num-bigint-0.1.44.bazel | 3 # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To 34 "rustc-serialize", 39 "--cap-lints=allow", 42 "cargo-bazel", 43 "crate-name=num-bigint", 49 "@rules_rust//rust/platform:aarch64-apple-darwin": [], 50 "@rules_rust//rust/platform:aarch64-apple-ios": [], 51 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], 52 "@rules_rust//rust/platform:aarch64-fuchsia": [], 53 "@rules_rust//rust/platform:aarch64-linux-android": [], [all …]
|
| /external/bazelbuild-rules_rust/crate_universe/src/context/ |
| D | crate_context.rs | 6 use serde::{Deserialize, Serialize}; 14 #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)] 28 #[derive(Debug, Default, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize, Clone)] 47 #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize, Clone)] 64 #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 121 fn default() -> Self { in default() 148 #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 172 // rust_library -> cargo_build_script 176 // rust_library ->-+-->------------------->--+ 178 // +--> cargo_build_script --+--> crate dependencies [all …]
|