-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Contributing
Howdy Space Cow-Person π€ π
RustScan is always looking for contributors. Whether that's spelling mistakes or major changes, your help is wanted and welcomed here.
Before contributing, read our code of conduct.
TL;DR if you abuse members of our community you will be perma-banned π€
RustScan has 2 major labels for GitHub issues you should look at:
- Good First issue These are issues for newcomers to open source! https://github.com/RustScan/RustScan/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22
- Help wanted These are issues that aren't really for newcomers, but we could still do with help! https://github.com/RustScan/RustScan/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22+label%3A%22help+wanted%22
If you want to, solve the issue or comment on the issue for help.
The flow for contributing to open source software is:
- Fork the repo
- Make changes
- Pull request to the repo
And then comment on the issue that you've done.
RustScan also has some // TODO's in the codebase, which are meant more for the core team but we wouldn't say no to help with these issues.
If you have any feature suggestions or bugs, leave a GitHub issue. We welcome any and all support :D
We communicate over Discord. Click here to join our Discord community!
I cannot pay you :-( But, I can place your GitHub profile on the README under #Contributors as a thank you! :)
Please read the contributing.md file
To ease contribution to RustScan, you can use the contributing.Dockerfile to create a Docker image ready to build and play with RustScan.
To build it you just need to run:
you@home:~/RustScan$ docker build -t rustscan_contributing -f contributing.DockerfileThen you need to run the container with a volume so it can access, with read and write permissions, to RustScan files:
you@home:~/RustScan$ docker run -ti --rm -v "$PWD":/rustscan -w /rustscan rustscan_contributing bashYou can now modify RustScan files with your favorite editor, once you want to compile and test your modifications, type the following in the container prompt:
root@container:/rustscan# cargo buildYou are now ready to use RustScan:
root@container:/rustscan# cargo run -- -b 2000 -t 5000 -a 127.0.0.1You can also format, lint with clippy and test the code with the following commands:
root@container:/rustscan# cargo fmt
root@container:/rustscan# cargo clippy
root@container:/rustscan# cargo test