1
1
Fork
You've already forked caniuse.rs
0
Rust feature search https://caniuse.rs/
  • Rust 84.2%
  • CSS 12.2%
  • HTML 2.1%
  • JavaScript 1.5%
2025年06月27日 23:37:15 +02:00
.cargo Replace x.py with xtask 2022年05月21日 16:14:35 +02:00
.github Add FUNDING.yml 2020年03月04日 11:22:35 +01:00
data Update blog post paths 2025年06月13日 17:53:16 +02:00
src chore: Update deps 2025年02月24日 23:33:53 +01:00
static Upgrade to Yew 19 2022年05月25日 12:24:32 +02:00
templates Simplify main.js by adding main tag to initial HTML 2022年06月21日 18:41:26 +02:00
xtask Upgrade to Rust edition 2024 2025年06月27日 23:37:15 +02:00
.gitignore Migrate from cargo-web to wasm-pack 2020年03月07日 02:56:36 +01:00
.rustfmt.toml Initial POC 2020年01月14日 00:59:03 +01:00
build.rs Remove redundant import 2024年04月03日 10:46:32 +02:00
Cargo.lock Bump Cargo.lock 2025年06月13日 17:46:32 +02:00
Cargo.toml Upgrade to Rust edition 2024 2025年06月27日 23:37:15 +02:00
LICENSE Add LICENSE file 2020年01月24日 14:51:20 +01:00
README.md Update README.md 2022年05月21日 16:15:43 +02:00
rust-toolchain.toml Simplify build script by using const generics & slice::array_windows 2021年08月09日 14:16:20 +02:00

caniuse.rs

Rust feature search

About

This site allows you to quickly which version of Rust stabilized a certain feature, or whether it is still unstable. Head over to caniuse.rs to try it!

Contributing

Running the site locally

First you need to be able to run the site locally of course, to try your changes.

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 have npm installed)

Once those are installed, just run cargo xtask serve and the site will be built and served at http://localhost:8000/.

Adding data

You may want to look at issue #16 for missing data. These fields can be specified 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 of the 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 that added 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 this feature – do not specify if this feature is exactly one item and that item is already used as the title
  • aliases: Alternatives to the title