Home
last modified time | relevance | path

Searched +full:test +full:- +full:crates (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/third_party/rust/rust/src/tools/rust-analyzer/crates/project-model/test_data/
Dripgrep-metadata.json4 "name": "aho-corasick",
6 "id": "aho-corasick 0.7.20 (registry+https://github.com/rust-lang/crates.io-index)",
10 "source": "registry+https://github.com/rust-lang/crates.io-index",
14 "source": "registry+https://github.com/rust-lang/crates.io-index",
34 …"src_path": "$ROOT$.cargo/registry/src/index.crates.io-6f17d22bba15001f/aho-corasick-0.7.20/src/li…
38 "test": true boolean
49 …"manifest_path": "$ROOT$.cargo/registry/src/index.crates.io-6f17d22bba15001f/aho-corasick-0.7.20/C…
56 "text-processing"
66 "repository": "https://github.com/BurntSushi/aho-corasick",
67 "homepage": "https://github.com/BurntSushi/aho-corasick",
[all …]
Dregex-metadata.json4 "name": "aho-corasick",
6 "id": "aho-corasick 0.7.20 (registry+https://github.com/rust-lang/crates.io-index)",
10 "source": "registry+https://github.com/rust-lang/crates.io-index",
14 "source": "registry+https://github.com/rust-lang/crates.io-index",
34 …"src_path": "$ROOT$.cargo/registry/src/index.crates.io-6f17d22bba15001f/aho-corasick-0.7.20/src/li…
38 "test": true boolean
49 …"manifest_path": "$ROOT$.cargo/registry/src/index.crates.io-6f17d22bba15001f/aho-corasick-0.7.20/C…
56 "text-processing"
66 "repository": "https://github.com/BurntSushi/aho-corasick",
67 "homepage": "https://github.com/BurntSushi/aho-corasick",
[all …]
Dhello-world-metadata.json4 "name": "hello-world",
6 "id": "hello-world 0.1.0 (path+file://$ROOT$hello-world)",
14 "source": "registry+https://github.com/rust-lang/crates.io-index",
33 "name": "hello-world",
34 "src_path": "$ROOT$hello-world/src/lib.rs",
38 "test": true boolean
47 "name": "hello-world",
48 "src_path": "$ROOT$hello-world/src/main.rs",
52 "test": true boolean
61 "name": "an-example",
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
21 name = "always-assert"
23 source = "registry+https://github.com/rust-lang/crates.io-index"
32 source = "registry+https://github.com/rust-lang/crates.io-index"
37 version = "1.0.0-beta.2"
38 source = "registry+https://github.com/rust-lang/crates.io-index"
44 source = "registry+https://github.com/rust-lang/crates.io-index"
50 source = "registry+https://github.com/rust-lang/crates.io-index"
56 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
DCargo.toml2 members = ["xtask/", "lib/*", "crates/*"]
3 exclude = ["crates/proc-macro-test/imp"]
7 rust-version = "1.66"
9 license = "MIT OR Apache-2.0"
10 authors = ["rust-analyzer team"]
19 rowan.opt-level = 3
20 rustc-hash.opt-level = 3
21 smol_str.opt-level = 3
22 text-size.opt-level = 3
24 miniz_oxide.opt-level = 3
[all …]
/third_party/rust/rust/compiler/rustc_codegen_cranelift/patches/
Dportable-simd-lock.toml8 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"
30 name = "cfg-if"
32 source = "registry+https://github.com/rust-lang/crates.io-index"
38 source = "registry+https://github.com/rust-lang/crates.io-index"
41 "cfg-if",
42 "wasm-bindgen",
52 "wasm-bindgen",
[all …]
Dstdlib-lock.toml8 source = "registry+https://github.com/rust-lang/crates.io-index"
13 "rustc-std-workspace-alloc",
14 "rustc-std-workspace-core",
20 source = "registry+https://github.com/rust-lang/crates.io-index"
24 "rustc-std-workspace-core",
40 source = "registry+https://github.com/rust-lang/crates.io-index"
50 source = "registry+https://github.com/rust-lang/crates.io-index"
56 source = "registry+https://github.com/rust-lang/crates.io-index"
60 name = "cfg-if"
62 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/docs/dev/
Darchitecture.md3 This document describes the high-level architecture of rust-analyzer.
9 See also these implementation-related blog posts:
11 * https://rust-analyzer.github.io/blog/2019/11/13/find-usages.html
12 * https://rust-analyzer.github.io/blog/2020/07/20/three-architectures-for-responsive-ide.html
13 * https://rust-analyzer.github.io/blog/2020/09/16/challeging-LR-parsing.html
14 * https://rust-analyzer.github.io/blog/2020/09/28/how-to-make-a-light-bulb.html
15 * https://rust-analyzer.github.io/blog/2020/10/24/introducing-ungrammar.html
17 …) and [another playlist](https://www.youtube.com/playlist?list=PL85XCvVPmGQho7MZkdW-wtPtuJcFpzycE).
22 ![](https://user-images.githubusercontent.com/4789492/107129398-0ab70f00-687a-11eb-9bfc-d4eb023aec0…
24 On the highest level, rust-analyzer is a thing which accepts input source code from the client and …
[all …]
/third_party/rust/crates/rustix/tests/
Dbackends.rs3 #[test]
5 // Test whether `has_dependency` works. `cargo tree` no longer works in in test_backends()
7 // and hermit-core isn't compatible with Rust 1.48. in test_backends()
8 if !has_dependency(".", &[], &[], &[], "io-lifetimes") { in test_backends()
13 // ensure that the use-default crate uses it. in test_backends()
18 "test-crates/use-default", in test_backends()
22 "linux-raw-sys" in test_backends()
24 "use-default does not depend on linux-raw-sys" in test_backends()
29 // ensure that the use-rustix-auxv crate uses it, and does not use libc. in test_backends()
32 // TODO: Re-enable this test once io-lifetimes can depend on Rust 1.63 in test_backends()
[all …]
/third_party/rust/crates/is-terminal/
DREADME.md2 <h1><code>is-terminal</code></h1>
5 <strong>Test whether a given stream is a terminal</strong>
9 …="https://github.com/sunfishcode/is-terminal/actions?query=workflow%3ACI"><img src="https://github…
10 …<a href="https://crates.io/crates/is-terminal"><img src="https://img.shields.io/crates/v/is-termin…
11 …<a href="https://docs.rs/is-terminal"><img src="https://docs.rs/is-terminal/badge.svg" alt="docs.r…
15 is-terminal is a simple utility that answers one question:
23 On Unix-family platforms, this is effectively the same as the [`isatty`]
25 high-level stream types instead of raw file descriptors.
31 [PR \#54] port to windows-sys applied. The only additional difference is that
55 This library is tested on both Unix-family and Windows platforms.
[all …]
/third_party/skia/m133/bazel/external/cxx/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
14 source = "registry+https://github.com/rust-lang/crates.io-index"
23 source = "registry+https://github.com/rust-lang/crates.io-index"
32 source = "registry+https://github.com/rust-lang/crates.io-index"
43 source = "registry+https://github.com/rust-lang/crates.io-index"
47 name = "codespan-reporting"
49 source = "registry+https://github.com/rust-lang/crates.io-index"
53 "unicode-width",
61 "cxx-build",
62 "cxx-gen",
[all …]
/third_party/rust/crates/atty/
DREADME.md3-ci.org/softprops/atty.svg?branch=master)](https://travis-ci.org/softprops/atty) [![Build status](…
36 A simple example program is provided in this repo to test various tty's. By default.
41 $ cargo run --example atty
47 To test std in, pipe some text to the program
50 $ echo "test" | cargo run --example atty
56 To test std out, pipe the program to something
59 $ cargo run --example atty | grep std
65 To test std err, pipe the program to something redirecting std err
68 $ cargo run --example atty 2>&1 | grep std
74 Doug Tangren (softprops) 2015-2019
/third_party/rust/crates/codespan/codespan-reporting/src/
Dterm.rs1 //! Terminal back-end for emitting diagnostics.
21 /// [`clap`]: https://crates.io/crates/clap
22 /// [`structopt`]: https://crates.io/crates/structopt
32 /// #[structopt(name = "groovey-app")]
56 /// [`clap`]: https://crates.io/crates/clap
57 /// [`structopt`]: https://crates.io/crates/structopt
64 fn from_str(src: &str) -> Result<ColorArg, &'static str> { in from_str()
76 fn into(self) -> ColorChoice { in into()
92 ) -> Result<(), super::files::Error> { in emit()
104 #[cfg(test)]
[all …]
/third_party/rust/rust/src/bootstrap/
Dcheck.rs1 //! Implementation of compiling the compiler and standard library, in "check"-based modes.
17 /// Whether to build only a subset of crates.
22 crates: Interned<Vec<String>>, field
26 fn args(builder: &Builder<'_>) -> Vec<String> { in args()
27 fn strings<'a>(arr: &'a [&str]) -> impl Iterator<Item = String> + 'a { in args()
46 "--fix", "-Zunstable-options", in args()
47 // FIXME: currently, `--fix` gives an error while checking tests for libtest, in args()
49 // As a workaround, avoid checking tests and benches when passed --fix. in args()
50 "--lib", "--bins", "--examples", in args()
53 args.extend(strings(&["--", "--cap-lints", "warn"])); in args()
[all …]
/third_party/rust/rust/src/tools/miri/bench-cargo-miri/serde1/
DCargo.lock6 name = "cargo-miri-test"
16 source = "registry+https://github.com/rust-lang/crates.io-index"
20 name = "proc-macro2"
22 source = "registry+https://github.com/rust-lang/crates.io-index"
25 "unicode-ident",
31 source = "registry+https://github.com/rust-lang/crates.io-index"
34 "proc-macro2",
40 source = "registry+https://github.com/rust-lang/crates.io-index"
46 source = "registry+https://github.com/rust-lang/crates.io-index"
55 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/rust/src/tools/miri/bench-cargo-miri/serde2/
DCargo.lock6 name = "cargo-miri-test"
16 source = "registry+https://github.com/rust-lang/crates.io-index"
20 name = "proc-macro2"
22 source = "registry+https://github.com/rust-lang/crates.io-index"
25 "unicode-ident",
31 source = "registry+https://github.com/rust-lang/crates.io-index"
34 "proc-macro2",
40 source = "registry+https://github.com/rust-lang/crates.io-index"
46 source = "registry+https://github.com/rust-lang/crates.io-index"
55 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/rust/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
22 "rustc-std-workspace-alloc",
23 "rustc-std-workspace-core",
29 source = "registry+https://github.com/rust-lang/crates.io-index"
33 "rustc-std-workspace-core",
39 source = "registry+https://github.com/rust-lang/crates.io-index"
50 source = "registry+https://github.com/rust-lang/crates.io-index"
53 "cfg-if",
59 name = "aho-corasick"
[all …]
/third_party/rust/crates/env_logger/
DREADME.md3 [![crates.io](https://img.shields.io/crates/v/env_logger.svg)](https://crates.io/crates/env_logger)
41 [2018-11-03T06:09:06Z INFO default] starting up
51 [2018-11-03T06:09:06Z INFO default] starting up
59 The log levels that may be specified correspond to the [`log::Level`][level-enum]
68 [level-enum]: https://docs.rs/log/latest/log/enum.Level.html "log::Level (docs.rs)"
74 … besides an environment variable. See [the examples](https://github.com/rust-cli/env_logger/tree/m…
78 Tests can use the `env_logger` crate to see log messages generated during that test:
84 [dev-dependencies]
89 fn add_one(num: i32) -> i32 {
94 #[cfg(test)]
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics/test_data/
Drustc_range_map_lsp_position.txt10 path: "/test/crates/test_diagnostics/src/main.rs",
42 "doc.rust-lang.org",
46 path: "/error-index.html",
69 path: "/test/crates/test_diagnostics/src/main.rs",
101 path: "/test/crates/test_diagnostics/src/main.rs",
133 "doc.rust-lang.org",
137 path: "/error-index.html",
160 path: "/test/crates/test_diagnostics/src/main.rs",
/third_party/rust/rust/src/tools/rust-analyzer/crates/project-model/src/
Dsysroot.rs5 //! is typically installed with `rustup component add rust-src` command.
21 crates: Arena<SysrootCrateData>, field
37 fn index(&self, index: SysrootCrate) -> &SysrootCrateData { in index()
38 &self.crates[index] in index()
45 /// `$HOME/.rustup/toolchains/nightly-2022-07-23-x86_64-unknown-linux-gnu`
46 pub fn root(&self) -> &AbsPath { in root()
51 …/// `$HOME/.rustup/toolchains/nightly-2022-07-23-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/lib…
52 pub fn src_root(&self) -> &AbsPath { in src_root()
56 pub fn public_deps(&self) -> impl Iterator<Item = (CrateName, SysrootCrate, bool)> + '_ { in public_deps()
62 .chain(iter::once(("test", false))) in public_deps()
[all …]
/third_party/rust/rust/src/tools/miri/test-cargo-miri/
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"
24 name = "cargo-miri-test"
85 name = "proc-macro2"
87 source = "registry+https://github.com/rust-lang/crates.io-index"
90 "unicode-ident",
96 source = "registry+https://github.com/rust-lang/crates.io-index"
99 "proc-macro2",
105 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/crates/syn/tests/repo/
Dmod.rs24 "src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0085_expr_literals.rs",
28 "tests/ui/explicit-tail-calls/return-lifetime-sub.rs",
30 // TODO: non-lifetime binders: `where for<'a, T> &'a Struct<T>: Trait`
33 "src/tools/rustfmt/tests/source/non-lifetime-binders.rs",
35 "src/tools/rustfmt/tests/target/non-lifetime-binders.rs",
36 "tests/rustdoc-json/non_lifetime_binders.rs",
42 …"src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0208_associated_return_type_boun…
43 "tests/ui/associated-type-bounds/return-type-notation/basic.rs",
44 "tests/ui/feature-gates/feature-gate-return_type_notation.rs",
46 // TODO: lazy type alias syntax with where-clause in trailing position
[all …]
/third_party/rust/crates/shlex/
DREADME.md1 [![ci badge]][ci link] [![crates.io badge]][crates.io link] [![docs.rs badge]][docs.rs link]
3 [crates.io badge]: https://img.shields.io/crates/v/shlex.svg?style=flat-square
4 [crates.io link]: https://crates.io/crates/shlex
5 [docs.rs badge]: https://img.shields.io/badge/docs-online-dddddd.svg?style=flat-square
7 …img.shields.io/github/actions/workflow/status/comex/rust-shlex/test.yml?branch=master&style=flat-s…
8 [ci link]: https://github.com/comex/rust-shlex/actions
19 The algorithms in this crate are oblivious to UTF-8 high bytes, so they iterate
20 over the bytes directly as a micro-optimization.
29 - Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
30 https://www.apache.org/licenses/LICENSE-2.0)
[all …]
/third_party/rust/crates/cxx/
Dbundle.json6 "publishAs": "code-segment",
8 "destPath": "third_party/rust/crates/cxx"
25 "name": "//third_party/rust/crates/cxx:cxx_cppdeps"
28 "name": "//third_party/rust/crates/cxx:lib"
31 "name": "//third_party/rust/crates/cxx/macro:macro_lib"
34 "name": "//third_party/rust/crates/cxx/gen/cmd:cxxbridge"
37 "test": [] array
/third_party/rust/crates/bindgen/
DREADME_zh.md1 [![crates.io](https://img.shields.io/crates/v/bindgen.svg)](https://crates.io/crates/bindgen)
22 /* automatically generated by rust-bindgen 0.99.9 */
51 │ ├── LICENSE -> ../LICENSE
56 ├── bindgen-cli
59 │ ├── LICENSE -> ../LICENSE
62 ├── bindgen-integration
68 ├── bindgen-tests
80 │ ├── assert-no-diff.bat
81 │ ├── no-includes.sh
82 │ ├── test.bat
[all …]

12345678910>>...14