import_map
A Rust implementation of WICG Import Maps specification.
This crates is used in Deno
project.
The implementation is tested against WPT test suite.
Developing
Make sure to have latest stable version of Rust installed (1.55.0).
// check version
$ rustc --version
rustc 1.55.0 (c8dfcfe04 2021-09-06)
// checkout git submodules
$ git submodule update --init --recursive
// build all targets
$ cargo build --all-targets
// test it
$ cargo test
Opening a pull request
-
Format code:
rustfmt ./src/lib.rs
-
Check that
clippy
doesn't produce warnings:cargo clippy --all-targets --all-features --release -- -D clippy::all