Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Readme and char/u8 const fn #20

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# caniuse.rs

A website to know which feature you can or cannot use in Rust.

## Quickstart

Head over [caniuse.rs](https://caniuse.rs/) and search for the Rust feature you are interested in.

## Developpement

The project uses a standard Rust toolchain.

### Pre-requisites

- **Cargo**
- **wasm-pack**: `cargo install wasm-pack`
- **Python3**
- **rollup**: `npm i -g rollup`

### Commands

Once the requirements are filled up you can run the project with `./x.py serve`

### Creates a new feature

You may want to look at issue [#16](https://github.com/jplatte/caniuse.rs/issues/16) for missing features.

When adding a new feature check on `FeatureData` in `build.rs` file for every available options
5 changes: 5 additions & 0 deletions data/1.52/const_char_eq_ignore_ascii_case.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "`char::eq_ignore_ascii_case` as `const fn`"
impl_pr_id = 82078
flag = "const_ascii_methods_on_intrinsics"
+++
5 changes: 5 additions & 0 deletions data/1.52/const_char_len_utf16.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "`char::len_utf16` as `const fn`"
impl_pr_id = 82078
flag = "const_char_len_utf"
+++
5 changes: 5 additions & 0 deletions data/1.52/const_char_len_utf8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "`char::len_utf8` as `const fn`"
impl_pr_id = 82078
flag = "const_char_len_utf"
+++
5 changes: 5 additions & 0 deletions data/1.52/const_char_to_ascii_lowercase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "`char::to_ascii_lowercase` as `const fn`"
impl_pr_id = 82078
flag = "const_ascii_methods_on_intrinsics"
+++
5 changes: 5 additions & 0 deletions data/1.52/const_char_to_ascii_uppercase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "`char::to_ascii_uppercase` as `const fn`"
impl_pr_id = 82078
flag = "const_ascii_methods_on_intrinsics"
+++
5 changes: 5 additions & 0 deletions data/1.52/const_u8_eq_ignore_ascii_case.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "`u8::eq_ignore_ascii_case` as `const fn`"
impl_pr_id = 82078
flag = "const_ascii_methods_on_intrinsics"
+++
5 changes: 5 additions & 0 deletions data/1.52/const_u8_to_ascii_lowercase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "`u8::to_ascii_lowercase` as `const fn`"
impl_pr_id = 82078
flag = "const_ascii_methods_on_intrinsics"
+++
5 changes: 5 additions & 0 deletions data/1.52/const_u8_to_ascii_uppercase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "`u8::to_ascii_uppercase` as `const fn`"
impl_pr_id = 82078
flag = "const_ascii_methods_on_intrinsics"
+++