Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than 3761854 point at it.

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 1–29why, one step back
1# Contributing to Serde
23Serde welcomes contribution from everyone in the form of suggestions, bug4reports, pull requests, and feedback. This document gives some guidance if you5are thinking of helping us.67## Submitting bug reports and feature requests89Serde development is spread across lots of repositories, but this serde-rs/serde10repository is always a safe choice for opening any issues related to Serde.1112When reporting a bug or asking for help, please include enough details so that13the people helping you can reproduce the behavior you are seeing. For some tips14on how to approach this, read about how to produce a [Minimal, Complete, and15Verifiable example].1617[Minimal, Complete, and Verifiable example]: https://stackoverflow.com/help/mcve1819When making a feature request, please make it clear what problem you intend to20solve with the feature, any ideas for how Serde could support solving that21problem, any possible alternatives, and any disadvantages.2223## Running the test suite2425We encourage you to check that the test suite passes locally before submitting a26pull request with your changes. If anything does not pass, typically it will be27easier to iterate and fix it locally than waiting for the CI servers to run28tests for you.29

Merge pull request #2983 from Mingun/fix-test-instructionsDavid Tolnaybefore adoption6f5eb7d

line 30why, one step back
30##### In the [`serde_core`] directory

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 31–33why, one step back
31
32```sh33# Test all the example code in Serde documentation

Merge pull request #2983 from Mingun/fix-test-instructionsDavid Tolnaybefore adoption6f5eb7d

line 34why, one step back
34cargo test

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 35–45why, one step back
35```
3637##### In the [`test_suite`] directory3839```sh40# Run the full test suite, including tests of unstable functionality41cargo +nightly test --features unstable42```4344Note that this test suite currently only supports running on a nightly compiler.45

Merge pull request #2983 from Mingun/fix-test-instructionsDavid Tolnaybefore adoption6f5eb7d

line 46why, one step back
46[`serde_core`]: https://github.com/serde-rs/serde/tree/master/serde_core

Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854

lines 47–55why, one step back
47[`test_suite`]: https://github.com/serde-rs/serde/tree/master/test_suite
4849## Conduct5051In all Serde-related forums, we follow the [Rust Code of Conduct]. For52escalation or moderation issues please contact Erick (erick.tryzelaar@gmail.com)53instead of the Rust moderation team.5455[Rust Code of Conduct]: https://www.rust-lang.org/policies/code-of-conduct