Skip to content

Instantly share code, notes, and snippets.

@sqs
Created January 11, 2018 08:39
Show Gist options
  • Save sqs/9830f10167478ae7c207eaecdd3573dc to your computer and use it in GitHub Desktop.
Save sqs/9830f10167478ae7c207eaecdd3573dc to your computer and use it in GitHub Desktop.
Full-text/regexp search across the top 500 Rust crates on Sourcegraph
// Full-text/regexp search across the top 500 Rust crates:
//
// 1. Sign up for Sourcegraph.com at https://sourcegraph.com/sign-up (or sign in)
// 2. Click your username in the top right
// 3. Go to Configuration
// 4. Paste this entire JSON in and click Save
// 5. In the search box, type a search query of the form "repogroup:crates YOUR QUERY"
// and hit enter (regexps, exact matching, etc., are supported)
//
// Examples: "repogroup:crates remove_file"
// "repogroup:crates File::open"
//
// Feedback/questions? @srcgraph or @sqs. If this is helpful, we'll make it available to
// all users without these config steps. :)
{
"search.scopes": [
{
"name":"Rust crates (top 500)",
"value": "repogroup:crates"
}
],
"search.savedQueries": [
{
"key": "YVfxXz",
"description": "Recent changes to rust-lang repos",
"query": "repo:rust-lang/ type:diff after:\"5 days ago\" file:\\.rs$",
"showOnHomepage": true
}
],
"search.repositoryGroups": {
"crates": [
"github.com/rust-lang/libc",
"github.com/rust-lang-nursery/bitflags",
"github.com/serde-rs/serde",
"github.com/retep998/winapi-rs",
"github.com/rust-lang-nursery/rand",
"github.com/rust-lang/rustc-serialize",
"github.com/rust-lang/log",
"github.com/retep998/winapi-rs",
"github.com/rust-lang-nursery/lazy-static.rs",
"github.com/retep998/winapi-rs",
"github.com/alexcrichton/gcc-rs",
"github.com/rust-lang/regex",
"github.com/rust-lang/regex",
"github.com/BurntSushi/rust-memchr",
"github.com/BurntSushi/aho-corasick",
"github.com/rust-lang/time",
"github.com/rust-num/num",
"github.com/servo/rust-url",
"github.com/Amanieu/thread_local-rs",
"github.com/BurntSushi/utf8-ranges",
"github.com/seanmonstar/num_cpus",
"github.com/steveklabnik/semver",
"github.com/alexcrichton/pkg-config-rs",
"github.com/rust-num/num",
"github.com/BurntSushi/byteorder",
"github.com/SimonSapin/rust-std-candidates",
"github.com/unicode-rs/unicode-xid",
"github.com/serde-rs/json",
"github.com/unicode-rs/unicode-normalization",
"github.com/sebasmagri/env_logger/",
"github.com/ruuda/thread-id",
"github.com/dguo/strsim-rs",
"github.com/servo/unicode-bidi",
"github.com/rust-num/num",
"github.com/alexcrichton/toml-rs",
"github.com/rust-num/num",
"github.com/alexcrichton/cfg-if",
"github.com/dtolnay/itoa",
"github.com/sfackler/rust-openssl",
"github.com/servo/rust-url/",
"github.com/dtolnay/dtoa",
"github.com/dtolnay/syn",
"github.com/hyperium/hyper",
"github.com/reem/rust-void.git",
"github.com/dtolnay/quote",
"github.com/Stebalien/term",
"github.com/reem/rust-traitobject.git",
"github.com/Kimundi/rustc-version-rs",
"github.com/hyperium/mime",
"github.com/rust-lang/tempdir",
"github.com/seanmonstar/unicase",
"github.com/kbknapp/clap-rs",
"github.com/seanmonstar/httparse",
"github.com/sfackler/rust-openssl",
"github.com/reem/rust-unreachable.git",
"github.com/serde-rs/serde",
"github.com/pyfisch/rust-language-tags",
"github.com/contain-rs/vec-map",
"github.com/serde-rs/syntex",
"github.com/reem/rust-typeable",
"github.com/unicode-rs/unicode-width",
"github.com/rust-lang/uuid",
"github.com/dtolnay/syn",
"github.com/chronotope/chrono",
"github.com/rust-lang-nursery/net2-rs",
"github.com/unicode-rs/unicode-segmentation",
"github.com/rust-num/num",
"github.com/alexcrichton/cookie-rs",
"github.com/rust-num/num",
"github.com/aturon/crossbeam",
"github.com/retep998/winapi-rs",
"github.com/rust-lang/getopts",
"github.com/carllerche/slab",
"github.com/rust-num/num",
"github.com/kbknapp/term_size-rs.git",
"github.com/alexcrichton/flate2-rs",
"github.com/docopt/docopt.rs",
"github.com/serde-rs/serde",
"github.com/rust-lang-nursery/error-chain",
"github.com/alexcrichton/flate2-rs",
"github.com/alexcrichton/libz-sys",
"github.com/bluss/rust-itertools",
"github.com/rust-lang/glob",
"github.com/serde-rs/syntex",
"github.com/alexcrichton/backtrace-rs",
"github.com/mlalic/solicit",
"github.com/nix-rust/nix",
"github.com/mlalic/hpack-rs",
"github.com/netvl/xml-rs",
"github.com/alexcrichton/cmake-rs",
"github.com/carllerche/mio",
"github.com/softprops/atty",
"github.com/alexcrichton/rustc-demangle",
"github.com/retep998/winapi-rs",
"github.com/alexcrichton/backtrace-rs",
"github.com/servo/rust-smallvec",
"github.com/alexcrichton/futures-rs",
"github.com/alicemaz/rust-base64",
"github.com/serde-rs/serde",
"github.com/BurntSushi/walkdir",
"github.com/carllerche/bytes",
"github.com/tailhook/quick-error",
"github.com/nikomatsakis/rayon",
"github.com/alexcrichton/filetime",
"github.com/alexcrichton/miow",
"github.com/servo/rust-url/",
"github.com/bluss/either",
"github.com/sfackler/rust-phf",
"github.com/alexcrichton/curl-rust",
"github.com/sfackler/rust-phf",
"github.com/steveklabnik/semver-parser",
"github.com/serde-rs/serde",
"github.com/retep998/winapi-rs",
"github.com/servo/rust-fnv",
"github.com/alexcrichton/curl-rust",
"github.com/erickt/rust-syntex",
"github.com/sfackler/rust-phf",
"github.com/google/pulldown-cmark",
"github.com/danburkert/fs2-rs",
"github.com/indiv0/lazycell",
"github.com/retep998/winapi-rs",
"github.com/Geal/nom",
"github.com/andersk/enum_primitive-rs.git",
"github.com/retep998/winapi-rs",
"github.com/sfackler/rust-openssl",
"github.com/sfackler/rust-phf",
"github.com/sfackler/foreign-types",
"github.com/alexcrichton/scoped-tls",
"github.com/DaGenix/rust-crypto/",
"github.com/mgeisler/textwrap",
"github.com/brendanzab/gl-rs/",
"github.com/alexcrichton/git2-rs",
"github.com/serde-rs/aster",
"github.com/contain-rs/linked-hash-map",
"github.com/bluss/scopeguard",
"github.com/alexcrichton/git2-rs",
"github.com/alexcrichton/tar-rs",
"github.com/brendanzab/gl-rs/",
"github.com/serde-rs/quasi",
"github.com/alexcrichton/ssh2-rs",
"github.com/serde-rs/quasi",
"github.com/DiamondLovesYou/cargo-pnacl-helper",
"github.com/DiamondLovesYou/libressl-pnacl-sys",
"github.com/alexcrichton/cc-rs",
"github.com/chyh1990/yaml-rust",
"github.com/alexcrichton/openssl-probe",
"github.com/jedisct1/rust-siphash",
"github.com/redox-os/syscall",
"github.com/BurntSushi/same-file",
"github.com/carllerche/iovec",
"github.com/reem/rust-unsafe-any",
"github.com/reem/rust-typemap",
"github.com/nikomatsakis/rayon",
"github.com/briansmith/untrusted",
"github.com/bluss/arrayvec",
"github.com/Stebalien/tempfile",
"github.com/utkarshkukreti/diff.rs",
"github.com/tokio-rs/tokio-core",
"github.com/PistonDevelopers/image.git",
"github.com/alexcrichton/bufstream",
"github.com/bluss/odds",
"github.com/sunng87/handlebars-rust",
"github.com/PistonDevelopers/image-png.git",
"github.com/reem/rust-modifier",
"github.com/reem/rust-plugin",
"github.com/servo/core-foundation-rs",
"github.com/kinghajj/deque.git",
"github.com/tomaka/shared_library/",
"github.com/servo/core-foundation-rs",
"github.com/iron/iron",
"github.com/alexcrichton/git2-rs",
"github.com/SergioBenitez/version_check",
"github.com/Kimundi/scoped-threadpool-rs",
"github.com/lifthrasiir/rust-encoding",
"github.com/PistonDevelopers/image-gif.git",
"github.com/Kimundi/owning-ref-rs",
"github.com/conduit-rust/mime-types",
"github.com/pest-parser/pest",
"github.com/nwin/lzw.git",
"github.com/reem/rust-error",
"github.com/KokaKiwi/rust-hex",
"github.com/racer-rust/racer",
"github.com/tokio-rs/tokio-io",
"github.com/PistonDevelopers/color_quant.git",
"github.com/rust-lang-nursery/rust-clippy",
"github.com/stjepang/coco",
"github.com/SimonSapin/rust-typed-arena",
"github.com/sfackler/rust-openssl-verify",
"github.com/abonander/safemem",
"github.com/PistonDevelopers/inflate.git",
"github.com/contain-rs/bit-vec",
"github.com/nrc/strings.rs",
"github.com/Byron/open-rs",
"github.com/contain-rs/bit-set",
"github.com/danburkert/memmap-rs",
"github.com/bluss/arrayvec",
"github.com/mitsuhiko/rust-sha1",
"github.com/sfackler/rust-native-tls",
"github.com/nagisa/rust_libloading/",
"github.com/TyOverby/bincode",
"github.com/servo/heapsize",
"github.com/remram44/adler32-rs",
"github.com/sfackler/rust-antidote",
"github.com/oli-obk/quine-mc_cluskey",
"github.com/abonander/mime_guess",
"github.com/Stebalien/xattr",
"github.com/alexcrichton/futures-rs",
"github.com/Daggerbot/x11-rs",
"github.com/storyyeller/stable_deref_trait",
"github.com/ujh/hamcrest-rust",
"github.com/dtolnay/serde-ignored",
"github.com/kaksmet/jpeg-decoder",
"github.com/sfackler/shell-escape",
"github.com/servo/gleam",
"github.com/rust-lang-nursery/mdBook",
"github.com/Daggerbot/osmesa-rs",
"github.com/BurntSushi/quickcheck",
"github.com/tomaka/glutin",
"github.com/bluss/fixedbitset",
"github.com/nrc/rls-data",
"github.com/BurntSushi/ripgrep/tree/master/globset",
"github.com/servo/string-cache",
"github.com/bluss/petgraph",
"github.com/rust-lang-nursery/rust-clippy",
"github.com/retep998/winapi-rs",
"github.com/bluss/ordermap",
"github.com/briansmith/ring",
"github.com/smithay/wayland-rs",
"github.com/carllerche/take",
"github.com/mcgoo/vcpkg-rs",
"github.com/iron/router",
"github.com/tokio-rs/tokio-service",
"github.com/serde-rs/quasi",
"github.com/conduit-rust/route-recognizer.rs",
"github.com/serde-rs/serde",
"github.com/reem/rust-debug-unreachable",
"github.com/alexcrichton/socket2-rs",
"github.com/oli-obk/cargo_metadata",
"github.com/servo/html5ever",
"github.com/smithay/wayland-kbd",
"github.com/nrc/rls-span",
"github.com/Amanieu/parking_lot",
"github.com/reem/rust-mac",
"github.com/servo/euclid",
"github.com/tokio-rs/tokio-proto",
"github.com/rust-lang-nursery/unix-socket",
"github.com/servo/tendril",
"github.com/BurntSushi/ripgrep/tree/master/termcolor",
"github.com/servo/futf",
"github.com/vberger/dlib",
"github.com/BurntSushi/ripgrep/tree/master/ignore",
"github.com/Smithay/wayland-window",
"github.com/alexcrichton/jobserver-rs",
"github.com/nox/serde_urlencoded",
"github.com/servo/rust-url",
"github.com/nrc/derive-new",
"github.com/iron/persistent",
"github.com/dtolnay/isatty",
"github.com/smithay/wayland-rs",
"github.com/servo/rust-cssparser",
"github.com/servo/core-graphics-rs",
"github.com/seanmonstar/reqwest",
"github.com/SimonSapin/rust-utf8",
"github.com/alexcrichton/xz2-rs",
"github.com/smithay/wayland-rs",
"github.com/paritytech/jsonrpc",
"github.com/Amanieu/parking_lot",
"github.com/alexcrichton/xz2-rs",
"github.com/oyvindln/deflate-rs",
"github.com/DanielKeep/rust-custom-derive/tree/custom_derive-master",
"github.com/retep998/winapi-rs",
"github.com/tomprogrammer/rust-ascii",
"github.com/rust-threadpool/rust-threadpool",
"github.com/nagisa/target_build_utils.rs",
"github.com/servo/cocoa-rs",
"github.com/nrc/rls-analysis",
"github.com/gluon-lang/languageserver-types",
"github.com/BurntSushi/ripgrep/tree/master/wincolor",
"github.com/nrc/rls-vfs",
"github.com/brendanzab/cgmath",
"github.com/mvdnes/zip-rs",
"github.com/SSheldon/rust-objc",
"github.com/mvdnes/podio",
"github.com/SSheldon/malloc_buf",
"github.com/servo/servo",
"github.com/sile/libflate",
"github.com/mvdnes/msdos_time",
"github.com/reem/rust-ordered-float",
"github.com/rust-lang-nursery/rustfmt",
"github.com/servo/string-cache",
"github.com/pyfisch/cbor",
"github.com/DanielKeep/rust-conv",
"github.com/paholg/typenum",
"github.com/tiny-http/tiny-http",
"github.com/servo/cgl-rs",
"github.com/conradkdotcom/rpassword",
"github.com/frewsxcv/rust-chunked-transfer",
"github.com/sfackler/hyper-native-tls",
"github.com/fizyk20/generic-array",
"github.com/retep998/winapi-rs",
"github.com/iron/body-parser",
"github.com/servo/string-cache",
"github.com/BurntSushi/rust-csv",
"github.com/gfx-rs/draw_state",
"github.com/brson/home",
"github.com/retep998/winapi-rs",
"github.com/dermesser/yup-oauth2",
"github.com/Geal/rust-syslog",
"github.com/laumann/compiletest-rs",
"github.com/budziq/rust-skeptic",
"github.com/dcuddeback/termios-rs",
"github.com/comex/rust-shlex",
"github.com/dtolnay/serde-yaml",
"github.com/stepancheg/rust-protobuf/",
"github.com/mrhooray/crc-rs",
"github.com/tomaka/winit",
"github.com/sebcrozet/nalgebra",
"github.com/whitequark/rust-xdg",
"github.com/tokio-rs/tokio-tls",
"github.com/slog-rs/slog",
"github.com/emilio/precomputed-hash",
"github.com/servo/html5ever",
"github.com/passcod/notify",
"github.com/gfx-rs/gfx",
"github.com/brendanzab/gl-rs/",
"github.com/GuillaumeGomez/c_vec-rs",
"github.com/servo/app_units",
"github.com/havarnov/multimap",
"github.com/joshtriplett/metadeps",
"github.com/Rust-SDL2/rust-sdl2",
"github.com/SBSTP/rust-igd",
"github.com/alexcrichton/bzip2-rs",
"github.com/contain-rs/lru-cache",
"github.com/servo/rust-cssparser",
"github.com/cesarb/constant_time_eq",
"github.com/blackbeam/rust-crc16",
"github.com/ticki/termion",
"github.com/pistondevelopers/float",
"github.com/servo/glutin",
"github.com/mdsteele/rust-ar",
"github.com/gfx-rs/gfx_gl",
"github.com/RustCrypto/hashes",
"github.com/PistonDevelopers/piston",
"github.com/AngryLawyer/rust-sdl2",
"github.com/brendanzab/approx",
"github.com/housleyjk/ws-rs",
"github.com/eminence/xmltree-rs",
"github.com/servo/rust-cssparser",
"github.com/sfackler/rust-debug-builders",
"github.com/gfx-rs/gfx",
"github.com/retep998/winapi-rs",
"github.com/lfairy/rust-errno",
"github.com/PistonDevelopers/piston",
"github.com/rustyhorde/vergen",
"github.com/SimonSapin/kuchiki",
"github.com/alexcrichton/bzip2-rs",
"github.com/RustCrypto/traits",
"github.com/PistonDevelopers/piston",
"github.com/PistonDevelopers/viewport",
"github.com/briansmith/webpki",
"github.com/dylanede/stb_truetype-rs",
"github.com/retep998/winapi-rs",
"github.com/RustCrypto/utils",
"github.com/redox-os/rusttype",
"github.com/jgallagher/rusqlite",
"github.com/stainless-steel/md5",
"github.com/hyperium/hyper-tls",
"github.com/pistondevelopers/vecmath",
"github.com/PistonDevelopers/piston",
"github.com/nrc/rls-rustc",
"github.com/rust-lang/cargo",
"github.com/inotify-rs/inotify",
"github.com/pistondevelopers/graphics",
"github.com/steffengy/schannel-rs",
"github.com/seanmonstar/relay",
"github.com/Daggerbot/x11-rs",
"github.com/GuillaumeGomez/html-diff-rs",
"github.com/sfackler/rust-postgres",
"github.com/tomaka/android-rs-glue",
"github.com/daboross/fern",
"github.com/dnaq/sodiumoxide",
"github.com/kennytm/extprim",
"github.com/michaelsproul/rust_sequence_trie",
"github.com/gfx-rs/gfx",
"github.com/pistondevelopers/shader_version",
"github.com/sfackler/r2d2",
"github.com/iron/mount",
"github.com/huonw/hamming",
"github.com/pistondevelopers/texture",
"github.com/tomaka/clock_ticks",
"github.com/seanmonstar/spmc",
"github.com/glium/glium",
"github.com/servo/libexpat/",
"github.com/cyderize/rust-websocket",
"github.com/pistondevelopers/glutin_window",
"github.com/maciejhirsz/json-rust",
"github.com/rust-lang-nursery/rustfmt",
"github.com/abonander/multipart",
"github.com/huonw/primal",
"github.com/RustCrypto/utils",
"github.com/redox-os/termios",
"github.com/sfackler/rust-security-framework",
"github.com/slog-rs/term",
"github.com/3Hren/msgpack-rust",
"github.com/huonw/primal",
"github.com/dnaq/sodiumoxide",
"github.com/sfackler/rust-security-framework",
"github.com/knsd/daemonize",
"github.com/huonw/primal",
"github.com/SSheldon/rust-block",
"github.com/KyleMayes/clang-sys",
"github.com/huonw/primal",
"github.com/huonw/primal",
"github.com/seanmonstar/vecio",
"github.com/retep998/winapi-rs",
"github.com/PistonDevelopers/freetype-sys",
"github.com/ctz/rustls",
"github.com/pistondevelopers/interpolation",
"github.com/emilio/rust-offscreen-rendering-context",
"github.com/PistonDevelopers/freetype-rs",
"github.com/PistonDevelopers/shaders",
"github.com/slapresta/rust-dotenv",
"github.com/johannhof/difference.rs",
"github.com/pistondevelopers/read_color",
"github.com/llogiq/bytecount",
"github.com/lfairy/if_chain",
"github.com/tokio-rs/tokio-timer",
"github.com/sfackler/log4rs",
"github.com/gavofyork/target_info",
"github.com/pistondevelopers/gfx_texture",
"github.com/sfackler/foreign-types",
"github.com/pistondevelopers/piston_window",
"github.com/ctz/webpki-roots",
"github.com/PistonDevelopers/gfx_graphics",
"github.com/iron/urlencoded",
"github.com/jgallagher/rusqlite",
"github.com/gtk-rs/sys",
"github.com/rustyhorde/blastfig",
"github.com/oconnor663/os_pipe.rs",
"github.com/rust-lang-nursery/rust-bindgen",
"github.com/servo/libfreetype2/",
"github.com/iron/staticfile",
"github.com/zonyitoo/rust-ini",
"github.com/alexcrichton/mio-uds",
"github.com/diwic/dbus-rs",
"github.com/rust-lang/cargo",
"github.com/bluss/maplit",
"github.com/serde-rs/serde",
"github.com/oconnor663/duct.rs",
"github.com/glennw/thread_profiler",
"github.com/ctz/hyper-rustls",
"github.com/malept/crypto-hash",
"github.com/oconnor663/shared_child.rs",
"github.com/AndyBarron/app-dirs-rs",
"github.com/diesel-rs/diesel",
"github.com/BurntSushi/mempool",
"github.com/steveklabnik/ref_slice",
"github.com/nickel-org/rust-mustache",
"github.com/BurntSushi/tabwriter",
"github.com/gtk-rs/sys",
"github.com/rbranson/rust-mmap",
"github.com/notriddle/quickersort",
"github.com/vitiral/build_const",
"github.com/servo/skia/",
"github.com/ia0/data-encoding",
"github.com/rust-lang/regex",
"github.com/malept/rust-commoncrypto",
"github.com/arcnmx/serde-value",
"github.com/malept/rust-commoncrypto",
"github.com/tormol/encode_unicode",
"github.com/gtk-rs/glib",
"github.com/servo/libfontconfig/",
"github.com/maidsafe/maidsafe_utilities",
"github.com/servo/core-text-rs",
"github.com/RustCrypto/utils",
"github.com/mystor/synstructure",
"github.com/jethrogb/rust-cexpr",
"github.com/servo/rust-fontconfig",
]}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment