8 releases (5 breaking)

0.6.0 Jan 13, 2022
0.5.0 Jan 13, 2022
0.4.0 Nov 18, 2021
0.3.3 Oct 2, 2021
0.1.0 Sep 9, 2021
Download history 1681/week @ 2021-10-02 1682/week @ 2021-10-09 1508/week @ 2021-10-16 1454/week @ 2021-10-23 1004/week @ 2021-10-30 1159/week @ 2021-11-06 857/week @ 2021-11-13 804/week @ 2021-11-20 1088/week @ 2021-11-27 852/week @ 2021-12-04 1060/week @ 2021-12-11 853/week @ 2021-12-18 574/week @ 2021-12-25 1045/week @ 2022-01-01 1038/week @ 2022-01-08 1023/week @ 2022-01-15

3,773 downloads per month
Used in 3 crates (2 directly)

MIT license

34KB
940 lines

import_map

Discord Chat

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

  1. Format code: rustfmt ./src/lib.rs

  2. Check that clippy doesn't produce warnings: cargo clippy --all-targets --all-features --release -- -D clippy::all

Dependencies

~1.8–2.5MB
~69K SLoC

Ha