Thank you for your interest in improving bimap-rs
!
bimap-rs
tries to be well tested but mistakes can still slip through. If something isn't working
as expected, please open an issue to let me know! It helps to include the following information:
bimap-rs
version and enabled/disabled features- Rust version (
rustc --version
) - Environment (other dependencies, operating system, etc)
- Minimal example that illustrates the issue
If there's a feature you'd like to see in bimap-rs
, open an issue describing the feature in
as much detail as you can.
For small and/or uncontroversial features and bug fixes, feel free to skip the issue process and just submit a pull request.
Building bimap-rs
locally is as simple as cloning the repository.
$ # clone the repository
$ git clone https://github.com/billyrieger/bimap-rs.git
$ cd bimap-rs
$ # build the library
$ cargo build
The full test suite runs the library tests and documentation tests with different combinations of feature flags.
$ # run the test suite
$ cargo test
$ cargo test --all-features
$ cargo test --no-default-features
Don't forget to format your code! You'll need the nightly version of rustfmt
.
$ # install nightly rustfmt
$ rustup toolchain install nightly
$ rustup component add --toolchain nightly rustfmt
$ # format the repository
$ cargo +nightly fmt