Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/rust/crates/clap/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
23 source = "registry+https://github.com/rust-lang/crates.io-index"
29 source = "registry+https://github.com/rust-lang/crates.io-index"
33 "anstyle-parse",
34 "anstyle-wincon",
35 "concolor-override",
36 "concolor-query",
37 "is-terminal",
44 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/crates/bindgen/
DCargo.lock6 name = "aho-corasick"
8 source = "registry+https://github.com/rust-lang/crates.io-index"
15 name = "aho-corasick"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
26 source = "registry+https://github.com/rust-lang/crates.io-index"
35 source = "registry+https://github.com/rust-lang/crates.io-index"
38 "hermit-abi 0.1.19",
49 "clang-sys",
54 "proc-macro2",
57 "rustc-hash",
[all …]
DCHANGELOG.md1 <!-- START doctoc generated TOC please keep comment here to allow auto update -->
2 <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
4 - [Unreleased](#unreleased)
5 - [Added](#added)
6 - [Changed](#changed)
7 - [Removed](#removed)
8 - [Fixed](#fixed)
9 - [Security](#security)
10 - [0.64.0](#0640)
11 - [Added](#added-1)
[all …]
/third_party/rust/crates/memchr/bench/
DCargo.lock6 source = "registry+https://github.com/rust-lang/crates.io-index"
9 "hermit-abi",
17 source = "registry+https://github.com/rust-lang/crates.io-index"
23 source = "registry+https://github.com/rust-lang/crates.io-index"
29 source = "registry+https://github.com/rust-lang/crates.io-index"
33 "memchr 2.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
34 "regex-automata",
41 source = "registry+https://github.com/rust-lang/crates.io-index"
47 source = "registry+https://github.com/rust-lang/crates.io-index"
53 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/crates/regex/
DCHANGELOG.md1 1.7.1 (2023-01-09)
8 * [PERF #930](https://github.com/rust-lang/regex/pull/930):
13 * [BUG #945](https://github.com/rust-lang/regex/issues/945):
17 1.7.0 (2022-11-05)
23 * [FEATURE #832](https://github.com/rust-lang/regex/issues/916):
27 1.6.0 (2022-07-05)
33 * [FEATURE #832](https://github.com/rust-lang/regex/pull/832):
35 * [FEATURE #857](https://github.com/rust-lang/regex/pull/857):
37 * [FEATURE #861](https://github.com/rust-lang/regex/pull/861):
39 * [FEATURE #877](https://github.com/rust-lang/regex/issues/877):
[all …]
/third_party/rust/crates/bindgen/bindgen/
Dfeatures.rs14 /// Represents the version of the Rust language to target.
31 /// Gives the latest stable Rust version
32 fn default() -> RustTarget {
42 /// * The stable/beta versions of Rust are of the form "1.0",
45 fn from_str(s: &str) -> Result<Self, Self::Err> {
54 "Got an invalid rust target. Accepted values ",
62 fn from(target: RustTarget) -> Self {
89 /// Rust stable 1.0
90 …ated = "This rust target is deprecated. If you have a good reason to use this target please report…
91 /// Rust stable 1.17
[all …]
/third_party/rust/crates/once_cell/
DCargo.lock.msrv6 name = "aho-corasick"
8 source = "registry+https://github.com/rust-lang/crates.io-index"
15 name = "atomic-polyfill"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
20 "critical-section",
26 source = "registry+https://github.com/rust-lang/crates.io-index"
30 name = "cfg-if"
32 source = "registry+https://github.com/rust-lang/crates.io-index"
36 name = "critical-section"
38 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/crates/bitflags/
DCHANGELOG.md3 - Allow `non_snake_case` in generated flags types ([#256])
9 - Revert unconditional `#[repr(transparent)]` ([#252])
15 - Add `#[repr(transparent)]` ([#187])
17 - End `empty` doc comment with full stop ([#202])
19 - Fix typo in crate root docs ([#206])
21 - Document from_bits_unchecked unsafety ([#207])
23 - Let `is_all` ignore extra bits ([#211])
25 - Allows empty flag definition ([#225])
27 - Making crate accessible from std ([#227])
29 - Make `from_bits` a const fn ([#229])
[all …]
/third_party/rust/crates/cxx/third-party/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
14 source = "registry+https://github.com/rust-lang/crates.io-index"
20 source = "registry+https://github.com/rust-lang/crates.io-index"
26 source = "registry+https://github.com/rust-lang/crates.io-index"
35 source = "registry+https://github.com/rust-lang/crates.io-index"
46 source = "registry+https://github.com/rust-lang/crates.io-index"
50 name = "codespan-reporting"
52 source = "registry+https://github.com/rust-lang/crates.io-index"
56 "unicode-width",
62 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/crates/libc/.github/workflows/
Dbors.yml6 - auto-libc
7 - try
13 … actions: write # to cancel workflows (rust-lang/simpleinfra/github-actions/cancel-outdated-builds)
17 runs-on: ubuntu-22.04
19 fail-fast: true
22 i686-unknown-linux-gnu,
23 x86_64-unknown-linux-gnu,
26 - uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
29 - uses: actions/checkout@v3
30 - name: Setup Rust toolchain
[all …]
/third_party/rust/crates/regex/tests/
Dregression.rs1 // See: https://github.com/rust-lang/regex/issues/48
10 // See: https://github.com/rust-lang/regex/issues/98
17 // See: https://github.com/rust-lang/regex/issues/555
23 // See: https://github.com/rust-lang/regex/issues/527
29 // See: https://github.com/rust-lang/regex/issues/75
30 mat!(regression_unsorted_binary_search_1, r"(?i-u)[a_]+", "A_", Some((0, 2)));
31 mat!(regression_unsorted_binary_search_2, r"(?i-u)[A_]+", "a_", Some((0, 2)));
33 // See: https://github.com/rust-lang/regex/issues/99
34 #[cfg(feature = "unicode-case")]
36 #[cfg(feature = "unicode-case")]
[all …]
/third_party/rust/crates/rustc-hash/
DCODE_OF_CONDUCT.md1 # The Rust Code of Conduct
3 A version of this document [can be found online](https://www.rust-lang.org/conduct.html).
7 **Contact**: [rust-mods@rust-lang.org](mailto:rust-mods@rust-lang.org)
12 …es of opinion and that every design or implementation choice carries a trade-off and numerous cost…
15 … a community member, please contact one of the channel ops or any of the [Rust moderation team][mo…
16 * Likewise any spamming, trolling, flaming, baiting or other attention-stealing behavior is not wel…
21 … conduct. If you feel that a thread needs moderation, please contact the [Rust moderation team][mo…
23 1. Remarks that violate the Rust standards of conduct, including hateful, hurtful, oppressive, or e…
28 6. Moderators may choose at their discretion to un-ban the user if it was a first offense and they …
29 …tor, or with a different moderator, **in private**. Complaints about bans in-channel are not allow…
[all …]
/third_party/rust/crates/cxx/book/src/build/
Dother.md1 {{#title Other build systems — Rust ♡ C++}}
6 - Produce the CXX-generated C++ bindings code.
7 - Compile the generated C++ code.
8 - Link the resulting objects together with your other C++ and Rust objects.
18 CXX's Rust code generation automatically happens when the `#[cxx::bridge]`
19 procedural macro is expanded during the normal Rust compilation process, so no
24 - Use the `cxxbridge` command, which is a standalone command line interface to
29 $ cxxbridge src/bridge.rs --header > path/to/bridge.rs.h
33 It's packaged as the `cxxbridge-cmd` crate on crates.io or can be built from
36 - Or, build your own code generator frontend on top of the [cxx-gen] crate. This
[all …]
/third_party/rust/crates/bindgen/releases/
Drelease-announcement-template.md3 `bindgen` automatically generates Rust FFI bindings to C and C++ libraries.
32 * [Issues labeled "less easy"][less-easy]
36 [Check out the issues labeled "docs".][docs-issues]
38 Found a bug with `bindgen`? [File an issue here.][file-issue]
40 [GitHub]: https://github.com/rust-lang/rust-bindgen
42 [guide]: https://rust-lang.github.io/rust-bindgen
44 [contributing]: https://github.com/rust-lang/rust-bindgen/blob/main/CONTRIBUTING.md
45 [easy]: https://github.com/rust-lang/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-easy
46 [less-easy]: https://github.com/rust-lang/rust-bindgen/issues?q=is%3Aopen+is%3Aissue+label%3AE-less
47 [looking]: https://github.com/rust-lang/rust-bindgen/issues/747
[all …]
/third_party/rust/crates/libc/
DREADME.md1 # libc - Raw FFI bindings to platforms' system libraries
6 code (or "C-like" code) on each of the platforms that Rust supports. This
17 [rfc]: https://github.com/rust-lang/rfcs/blob/HEAD/text/1291-promote-libc.md
23 For v0.2, please submit PRs to the `libc-0.2` branch instead.
26 See the [tracking issue](https://github.com/rust-lang/libc/issues/3248) for details.
46 * `const-extern-fn`: Changes some `extern fn`s into `const extern fn`s.
47 If you use Rust >= 1.62, this feature is implicitly enabled.
52 ## Rust version support
54 The minimum supported Rust toolchain version is currently **Rust 1.13.0**.
56 supported Rust version; such policy is a work in progress.) APIs requiring
[all …]
DREADME zh.md1 # libc - 提供 C 标准库的rust侧FFI
17 [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/1291-promote-libc.md
26 deps = [ "//third_party/rust/crates/libc:lib" ]
47 * `const-extern-fn`: 将一些`extern fn`s改为`const extern fn`s。
55 目前支持的最小Rust工具链版本是**Rust 1.13.0**。(libc 目前没有任何计划关于改变最小支持的支持的 Rust 版本)。需要较新的 Rust 特性的 API 只在较新的 Rust
58 |----------------------|---------|
66 | `const-extern-fn` | 1.62.0 |
72 见[`ci/build.sh`](https://github.com/rust-lang/libc/blob/master/ci/build.sh)
82 * [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
83 ([LICENSE-APACHE](https://github.com/rust-lang/libc/blob/master/LICENSE-APACHE))
[all …]
/third_party/rust/crates/log/
DCHANGELOG.md5 ## [0.4.17] - 2022-04-29
9 ## [0.4.16] - 2022-03-22
13 ## [0.4.15] - 2022-02-23
17 * Add thumbv4t-none-eabi to targets that don't support atomics
22 * Add key-value support to the `log!` macros.
28 ## [0.4.14] - 2021-01-27
35 ## [0.4.13] - 2021-01-11
39 ## [0.4.12] - 2020-12-24
45 * Update `cfg-if` to `1.0`
54 ## [0.4.11] - 2020-07-09
[all …]
/third_party/rust/crates/serde/serde/
DREADME.md1 …[actions] [![Latest Version]][crates.io] [![serde msrv]][Rust 1.31] [![serde_derive msrv]][Rust 1.…
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
9 [Rust 1.31]: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html
10 [Rust 1.56]: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
12 **Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and g…
14 ---
18 - [An overview of Serde](https://serde.rs/)
19 - [Data formats supported by Serde](https://serde.rs/#data-formats)
20 - [Setting up `#[derive(Serialize, Deserialize)]`](https://serde.rs/derive.html)
[all …]
/third_party/rust/crates/serde/
DREADME.md1 …[actions] [![Latest Version]][crates.io] [![serde msrv]][Rust 1.31] [![serde_derive msrv]][Rust 1.…
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
9 [Rust 1.31]: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html
10 [Rust 1.56]: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
12 **Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and g…
14 ---
18 - [An overview of Serde](https://serde.rs/)
19 - [Data formats supported by Serde](https://serde.rs/#data-formats)
20 - [Setting up `#[derive(Serialize, Deserialize)]`](https://serde.rs/derive.html)
[all …]
Dcrates-io.md1 <!-- Serde readme rendered on crates.io -->
3 **Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and g…
5 ---
9 - [An overview of Serde](https://serde.rs/)
10 - [Data formats supported by Serde](https://serde.rs/#data-formats)
11 - [Setting up `#[derive(Serialize, Deserialize)]`](https://serde.rs/derive.html)
12 - [Examples](https://serde.rs/examples.html)
13 - [API documentation](https://docs.rs/serde)
14 - [Release notes](https://github.com/serde-rs/serde/releases)
18 ```rust
[all …]
/third_party/rust/crates/serde/serde_derive/
DREADME.md1 …[actions] [![Latest Version]][crates.io] [![serde msrv]][Rust 1.31] [![serde_derive msrv]][Rust 1.…
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
9 [Rust 1.31]: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html
10 [Rust 1.56]: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
12 **Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and g…
14 ---
18 - [An overview of Serde](https://serde.rs/)
19 - [Data formats supported by Serde](https://serde.rs/#data-formats)
20 - [Setting up `#[derive(Serialize, Deserialize)]`](https://serde.rs/derive.html)
[all …]
Dcrates-io.md1 <!-- Serde readme rendered on crates.io -->
3 **Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and g…
5 ---
9 - [An overview of Serde](https://serde.rs/)
10 - [Data formats supported by Serde](https://serde.rs/#data-formats)
11 - [Setting up `#[derive(Serialize, Deserialize)]`](https://serde.rs/derive.html)
12 - [Examples](https://serde.rs/examples.html)
13 - [API documentation](https://docs.rs/serde)
14 - [Release notes](https://github.com/serde-rs/serde/releases)
18 ```rust
[all …]
/third_party/rust/crates/cxx/book/src/
Dcontext.md1 {{#title Other Rust–C++ interop tools — Rust ♡ C++}}
2 # Context: other Rust&ndash;C++ interop tools
4 When it comes to interacting with an idiomatic Rust API or idiomatic C++ API
8 - Build a C-compatible wrapper around the code (expressed using `extern "C"`
9 signatures, primitives, C-compatible structs, raw pointers). Translate that
14 - Build a C wrapper around the C++ code and use **[bindgen]** to translate that
15 programmatically to `extern "C"` Rust signatures. Preferably, build a
16 safe/idiomatic Rust wrapper on top.
18 - Build a C-compatible Rust wrapper around the Rust code and use **[cbindgen]**
26 [bindgen]: https://github.com/rust-lang/rust-bindgen
[all …]
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
Dio_slice.rs1 //! The following is derived from Rust's
11 /// <https://doc.rust-lang.org/nightly/std/io/struct.IoSlice.html>
20 /// <https://doc.rust-lang.org/nightly/std/io/struct.IoSlice.html#method.new>
22 pub fn new(buf: &'a [u8]) -> IoSlice<'a> { in new()
32 /// <https://doc.rust-lang.org/nightly/std/io/struct.IoSlice.html#method.advance>
40 self.vec.iov_len -= n as __kernel_size_t; in advance()
45 /// <https://doc.rust-lang.org/nightly/std/io/struct.IoSlice.html#method.as_slice>
47 pub fn as_slice(&self) -> &[u8] { in as_slice()
52 /// <https://doc.rust-lang.org/nightly/std/io/struct.IoSliceMut.html>
60 /// <https://doc.rust-lang.org/nightly/std/io/struct.IoSliceMut.html#method.new>
[all …]
/third_party/rust/crates/lazy-static.rs/
DCargo.toml6 license = "MIT/Apache-2.0"
8 description = "A macro for declaring lazily evaluated statics in Rust."
12 repository = "https://github.com/rust-lang-nursery/lazy-static.rs"
14 categories = [ "no-std", "rust-patterns", "memory-management" ]
24 [dev-dependencies]
25 doc-comment = "0.3.1"
28 appveyor = { repository = "rust-lang-nursery/lazy-static.rs" }
29 travis-ci = { repository = "rust-lang-nursery/lazy-static.rs" }
31 is-it-maintained-issue-resolution = { repository = "rust-lang-nursery/lazy-static.rs" }
32 is-it-maintained-open-issues = { repository = "rust-lang-nursery/lazy-static.rs" }
[all …]

12345678910>>...14