- Notifications
You must be signed in to change notification settings - Fork13
jplatte/caniuse.rs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Rust feature search
This site allows you to quickly which version of Rust stabilized a certainfeature, or whether it is still unstable. Head over tocaniuse.rs to try it!
First you need to be able to run the site locally of course, to try yourchanges.
Pre-requisites:
- cargo
- wasm-pack (website has install instructions, to build from source use
cargo install wasm-pack
) - rollup (
npm install --global rollup
if you havenpm installed)
Once those are installed, just runcargo xtask serve
and the site will bebuilt and served athttp://localhost:8000/.
You may want to look at issue#16 for missing data. These fields can bespecified for a feature:
title
: Short description to identify the feature. Should fit into"can i use {title}?".flag
: The feature flag, if any – you can most often find this in the diff ofthe stabilization or implementation PR, for library features look for#[stable]
and#[rustc_const_stable]
attributes.rfc_id
: RFC ID, if applicable – the number of the PR that added the RFC.Also the first part of the filename of the RFC after being merged.impl_pr_id
: Implementation PR ID, if applicable – the number of the PR thatadded this feature. For features where is no clear single implementation PR,leave out this field.tracking_issue_id
: Tracking issue ID, if applicable.stabilization_pr_id
: Stabilization PR ID, if applicable.doc_path
: Documentation path, if applicable –https://doc.rust-lang.org/{path}
.edition_guide_path
: Edition guide path, if applicable –https://doc.rust-lang.org/edition-guide/{path}
unstable_book_path
: Unstable book path, if applicable –https://doc.rust-lang.org/unstable-book/{path}
items
: Language items (functions, structs, modules) that are part of thisfeature – do not specify if this feature is exactly one item and that itemis already used as the titlealiases
: Alternatives to thetitle
- alfred-caniuse-rs: caniuse.rslookups as an Alfred workflow (macOS)