File: CONTRIBUTING.md

package info (click to toggle)
rust-io-timer 0.0.1%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 296 kB
  • sloc: makefile: 2; sh: 1
file content (43 lines) | stat: -rw-r--r-- 1,131 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributing guide

Thank you for investing your time in contributing to the HTTP flows project.

## Development

The development environment is managed by [Nix](https://nixos.org/download.html).
Running `nix-shell` will spawn a shell with everything you need to get started with the project.

If you do not want to use Nix, you can either use [rustup](https://rust-lang.github.io/rustup/index.html):

```text
rustup update
```

or install manually the following dependencies:

- [cargo](https://doc.rust-lang.org/cargo/)
- [rustc](https://doc.rust-lang.org/stable/rustc/platform-support.html)

## Build

```
cargo build
```

You can build a specific workspace:

```
cargo build -p http-lib
```

You can disable default [features](https://doc.rust-lang.org/cargo/reference/features.html) with `--no-default-features` and enable features with `--features feat1,feat2,feat3`.

Finally, you can build a release with `--release`:

```
cargo build -p http-lib --no-default-features --release
```

## Commit style

Http libraries follow the [conventional commits specification](https://www.conventionalcommits.org/en/v1.0.0/#summary).