browserslist-rs
Rust-ported Browserslist.
File Explorer
Download Latest Version (.zip)- CI.yml
- settings.json
- features.rs
- region.rs
- .gitignore
- baseline.rs
- caniuse.rs
- electron.rs
- lib.rs
- node.rs
- utils.rs
- Cargo.toml
- inspect.rs
- main.rs
- Cargo.toml
- mod.rs
- parser.rs
- baseline.rs
- browser_accurate.rs
- browser_bounded_range.rs
- browser_unbounded_range.rs
- browserslist_config.rs
- cover.rs
- cover_by_region.rs
- current_node.rs
- dead.rs
- defaults.rs
- electron_accurate.rs
- electron_bounded_range.rs
- electron_unbounded_range.rs
- extends.rs
- firefox_esr.rs
- last_n_browsers.rs
- last_n_electron.rs
- last_n_electron_major.rs
- last_n_major_browsers.rs
- last_n_node.rs
- last_n_node_major.rs
- last_n_x_browsers.rs
- last_n_x_major_browsers.rs
- maintained_node.rs
- mod.rs
- node_accurate.rs
- node_bounded_range.rs
- node_unbounded_range.rs
- op_mini.rs
- percentage.rs
- percentage_by_region.rs
- phantom.rs
- since.rs
- supports.rs
- unreleased_browsers.rs
- unreleased_electron.rs
- unreleased_x_browsers.rs
- years.rs
- error.rs
- lib.rs
- opts.rs
- parser.rs
- semver.rs
- test.rs
- config.toml
- lib.rs
- Cargo.toml
- LICENSE
- .editorconfig
- .gitignore
- Cargo.toml
- LICENSE
- package.json
- pnpm-lock.yaml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/browserslist/browserslist-rs
Downloads the entire project code from GitHub to your computer.
cd browserslist-rs
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
3. Rust
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo run --example inspect -- <query>
Builds and then immediately runs the program.
cargo run --example inspect -- --mobile-to-desktop 'last 2 versions, not dead'
Builds and then immediately runs the program.
cargo run --example inspect -- -h
Builds and then immediately runs the program.
cargo run --manifest-path generate-data/Cargo.toml
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
