Skip to content

Commit 96cc939

Browse files
committed
refactor: restructure by rfc folders
1 parent 898b34f commit 96cc939

44 files changed

Lines changed: 3297 additions & 1589 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cliffignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Added
11+
12+
- Add support for HTTP/1.0.
13+
14+
### Changed
15+
16+
- Organize code into RFC folders.
17+
818
## [0.0.3] - 2025-10-24
919

1020
### Added
@@ -32,8 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3242

3343
- Init HTTP 1.1 module with send coroutine
3444

45+
[unreleased]: https://github.com/pimalaya/io-dns/compare/v0.0.3..HEAD
3546
[0.0.3]: https://github.com/pimalaya/io-http/compare/v0.0.2..v0.0.3
3647
[0.0.2]: https://github.com/pimalaya/io-http/compare/v0.0.1..v0.0.2
3748
[0.0.1]: https://github.com/pimalaya/io-http/compare/root..v0.0.1
38-
39-
<!-- generated by git-cliff on 2025-10-24T13:19:08.039358880+02:00 -->

CONTRIBUTING.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,39 @@ Thank you for investing your time in contributing to the I/O HTTP project.
55
## Development
66

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

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

12-
```text
12+
```
1313
rustup update
1414
```
1515

1616
or install manually the following dependencies:
1717

1818
- [cargo](https://doc.rust-lang.org/cargo/)
19-
- [rustc](https://doc.rust-lang.org/stable/rustc/platform-support.html)
19+
- [rustc](https://doc.rust-lang.org/stable/rustc/platform-support.html) (`>= 1.87`)
2020

2121
## Build
2222

2323
```
2424
cargo build
2525
```
2626

27-
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`.
28-
29-
Finally, you can build a release with `--release`:
27+
## Test
3028

3129
```
32-
cargo build --no-default-features --release
30+
cargo test
31+
```
32+
33+
## Override dependencies
34+
35+
All Pimalaya crates use `[patch.crates-io]` to point to sibling directories.
36+
If you want to build io-dns against a locally modified dependency (e.g. `io-socket`), add the following to `Cargo.toml`:
37+
38+
```toml
39+
[patch.crates-io]
40+
io-socket.path = "/path/to/io-socket"
3341
```
3442

3543
## Commit style

0 commit comments

Comments
 (0)