CONTRIBUTING.md
This file
Path
CONTRIBUTING.md
55 lines · 2.0 KiB · Markdown
Last changed by
Merge pull request #2983 from Mingun/fix-test-instructionsDavid Tolnaybefore adoption6f5eb7d
History of this fileTake it
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556# Contributing to Serde
Serde welcomes contribution from everyone in the form of suggestions, bugreports, pull requests, and feedback. This document gives some guidance if youare thinking of helping us.
## Submitting bug reports and feature requests
Serde development is spread across lots of repositories, but this serde-rs/serderepository is always a safe choice for opening any issues related to Serde.
When reporting a bug or asking for help, please include enough details so thatthe people helping you can reproduce the behavior you are seeing. For some tipson how to approach this, read about how to produce a [Minimal, Complete, andVerifiable example].
[Minimal, Complete, and Verifiable example]: https://stackoverflow.com/help/mcve
When making a feature request, please make it clear what problem you intend tosolve with the feature, any ideas for how Serde could support solving thatproblem, any possible alternatives, and any disadvantages.
## Running the test suite
We encourage you to check that the test suite passes locally before submitting apull request with your changes. If anything does not pass, typically it will beeasier to iterate and fix it locally than waiting for the CI servers to runtests for you.
##### In the [`serde_core`] directory
```sh# Test all the example code in Serde documentationcargo test```
##### In the [`test_suite`] directory
```sh# Run the full test suite, including tests of unstable functionalitycargo +nightly test --features unstable```
Note that this test suite currently only supports running on a nightly compiler.
[`serde_core`]: https://github.com/serde-rs/serde/tree/master/serde_core[`test_suite`]: https://github.com/serde-rs/serde/tree/master/test_suite
## Conduct
In all Serde-related forums, we follow the [Rust Code of Conduct]. Forescalation or moderation issues please contact Erick (erick.tryzelaar@gmail.com)instead of the Rust moderation team.
[Rust Code of Conduct]: https://www.rust-lang.org/policies/code-of-conduct