Debian Codegraph @

debian/missing-sources/glam-0.23.0/CONTRIBUTING.md

raw symbols SCIP
1 # Contributing to glam
2
3 Thanks for contributing to `glam`! These guidelines will try to make the
4 process painless and efficient.
5
6 The short guide to contributing is [start a discussion] on GitHub. Pull
7 requests are welcome for bug fixes, documentation improvements and
8 optimizations. For anything else it would be best to discuss it first.
9
10 ## Questions
11
12 If you have a question about the usage of this library please [ask a question]
13 with GitHub Discussions. That's the easiest way to get support right now.
14
15 ## Bugs
16
17 If you find a bug please [open an issue] on GitHub or submit a pull request. A
18 unit test for any bug that slipped through existing coverage would also be
19 greatly appreciated.
20
21 ## New functions and methods
22
23 If `glam` is missing functionality on existing types, [suggest a new feature]
24 with GitHub Discussions describing what feature you would like added and
25 ideally what your use case is for it just so I have a better understanding of
26 the feature. I'd like to keep `glam` reasonably light functionality wise
27 initially but commonly used functionality that is missing is very welcome. If
28 you do submit a pull request please ensure any new functionality also has a
29 test.
30
31 ## Optimizations
32
33 If you feel some functionality could be optimized please [open an issue] on
34 GitHub or submit a pull request. Any optimization pull request should include a
35 benchmark if there isn't one already, so I can confirm the performance
36 improvement.
37
38 ## Documentation
39
40 If you feel any documentation could be added or improved please
41 [open a GitHub issue] or submit a pull request.
42
43 ## Code contributions
44
45 Most of `glam`'s source code is generated. See the [codegen README] on how
46 to modify the code templates and generate new source code.
47
48 You can run some of `glam`'s test suite locally by running the
49 `build_and_test_features.sh` script. It's worth running that before creating a
50 PR.
51
52 Also run `cargo fmt` and `cargo clippy` on any new code.
53
54 [start a discussion]: https://github.com/bitshifter/glam-rs/discussions/new
55 [open an issue]: https://GitHub.com/bitshifter/glam-rs/issues/new
56 [ask a question]: https://github.com/bitshifter/glam-rs/discussions/new?category=q-a
57 [suggest a new feature]: https://github.com/bitshifter/glam-rs/discussions/new?category=ideas
58 [ARCHITECTURE]: ARCHITECTURE.md
59 [codegen README]: codegen/README.md