Skip to content

Commit 16d4a3c

Browse files
committed
PR 62: partial: adjust README
1 parent f5e3184 commit 16d4a3c

File tree

4 files changed

+50
-17
lines changed

4 files changed

+50
-17
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
[![test pipeline](https://github.com/hapsoc/ktls/actions/workflows/test.yml/badge.svg)](https://github.com/hapsoc/ktls/actions/workflows/test.yml?query=branch%3Amain)
2-
[![Coverage Status (codecov.io)](https://codecov.io/gh/hapsoc/ktls/branch/main/graph/badge.svg)](https://codecov.io/gh/hapsoc/ktls/)
3-
[![license: MIT/Apache-2.0](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg)](LICENSE-MIT)
1+
[![Test pipeline](https://github.com/rustls/ktls/actions/workflows/ci.yml/badge.svg)](https://github.com/rustls/ktls/actions/workflows/ci.yml?query=branch%3Amain)
2+
[![Coverage Status (codecov.io)](https://codecov.io/gh/rustls/ktls/branch/main/graph/badge.svg)](https://codecov.io/gh/rustls/ktls/)
3+
[![License: MIT OR Apache-2.0](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg)](LICENSE-MIT)
44

55
# ktls
66

77
This repository hosts both:
88

9-
* [ktls](./ktls): higher-level, safe wrappers over kTLS
10-
* [ktls-sys](./ktls-sys): the raw system interface for kTLS on Linux
9+
* [ktls](./ktls): high-level APIs for configuring kTLS (kernel TLS offload) on top of [rustls].
10+
* [ktls-util](./ktls-util): utilities for crate `ktls`.
11+
* [ktls-sys](./ktls-sys): the raw system interface for kTLS on Linux (deprecated).
1112

1213
## License
1314

ktls-sys/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
[![test pipeline](https://github.com/hapsoc/ktls/actions/workflows/test.yml/badge.svg)](https://github.com/hapsoc/ktls/actions/workflows/test.yml?query=branch%3Amain)
2-
[![Coverage Status (codecov.io)](https://codecov.io/gh/hapsoc/ktls/branch/main/graph/badge.svg)](https://codecov.io/gh/hapsoc/ktls/)
31
[![Crates.io](https://img.shields.io/crates/v/ktls-sys)](https://crates.io/crates/ktls-sys)
4-
[![license: MIT/Apache-2.0](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg)](LICENSE-MIT)
2+
[![Docs.rs](https://docs.rs/ktls-sys/badge.svg)](https://docs.rs/ktls-sys)
3+
[![Test pipeline](https://github.com/rustls/ktls/actions/workflows/ci.yml/badge.svg)](https://github.com/rustls/ktls/actions/workflows/ci.yml?query=branch%3Amain)
4+
[![Coverage Status (codecov.io)](https://codecov.io/gh/rustls/ktls/branch/main/graph/badge.svg)](https://codecov.io/gh/rustls/ktls/)
5+
[![License: MIT OR Apache-2.0](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg)](LICENSE-MIT)
56

67
# ktls-sys
78

9+
> [!WARNING]
10+
> This crate is deprecated.
11+
812
`linux/tls.h` bindings, for TLS kernel offload.
913

1014
Generated with `bindgen tls.h -o src/bindings.rs`
1115

12-
See <https://github.com/bearcove/ktls> for a higher-level / safer interface.
16+
See <https://github.com/rustls/ktls> for a higher-level / safer interface.
1317

1418
## License
1519

ktls-util/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[![Crates.io](https://img.shields.io/crates/v/ktls)](https://crates.io/crates/ktls-util)
2+
[![Docs.rs](https://docs.rs/ktls/badge.svg)](https://docs.rs/ktls-util)
3+
[![Test pipeline](https://github.com/rustls/ktls/actions/workflows/ci.yml/badge.svg)](https://github.com/rustls/ktls/actions/workflows/ci.yml?query=branch%3Amain)
4+
[![Coverage Status (codecov.io)](https://codecov.io/gh/rustls/ktls/branch/main/graph/badge.svg)](https://codecov.io/gh/rustls/ktls/)
5+
[![License: MIT OR Apache-2.0](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg)](LICENSE-MIT)
6+
7+
# `ktls-util` - Utilities for crate `ktls`
8+
9+
## MSRV
10+
11+
1.77.0
12+
13+
## LICENSE
14+
15+
This project is primarily distributed under the terms of both the MIT license
16+
and the Apache License (Version 2.0).
17+
18+
See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details.
19+
20+
[kernel TLS offload]: https://www.kernel.org/doc/html/latest/networking/tls-offload.html
21+
[rustls]: https://docs.rs/rustls/latest/rustls/kernel/index.html

ktls/README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
1-
[![test pipeline](https://github.com/hapsoc/ktls/actions/workflows/test.yml/badge.svg)](https://github.com/hapsoc/ktls/actions/workflows/test.yml?query=branch%3Amain)
2-
[![Coverage Status (codecov.io)](https://codecov.io/gh/hapsoc/ktls/branch/main/graph/badge.svg)](https://codecov.io/gh/hapsoc/ktls/)
31
[![Crates.io](https://img.shields.io/crates/v/ktls)](https://crates.io/crates/ktls)
4-
[![license: MIT/Apache-2.0](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg)](LICENSE-MIT)
2+
[![Docs.rs](https://docs.rs/ktls/badge.svg)](https://docs.rs/ktls)
3+
[![Test pipeline](https://github.com/rustls/ktls/actions/workflows/ci.yml/badge.svg)](https://github.com/rustls/ktls/actions/workflows/ci.yml?query=branch%3Amain)
4+
[![Coverage Status (codecov.io)](https://codecov.io/gh/rustls/ktls/branch/main/graph/badge.svg)](https://codecov.io/gh/rustls/ktls/)
5+
[![License: MIT OR Apache-2.0](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg)](LICENSE-MIT)
56

6-
# ktls
7+
# `ktls` - Kernel TLS offload (kTLS) support built on top of [rustls].
78

8-
Configures kTLS ([kernel TLS
9-
offload](https://www.kernel.org/doc/html/latest/networking/tls-offload.html))
10-
for any type that implements `AsRawFd`, given a rustls `ServerConnection`.
9+
This crate provides high-level APIs for configuring [kernel TLS offload] (kTLS),
10+
extending the bare minimum functionality provided by [rustls].
1111

12-
## License
12+
## MSRV
13+
14+
1.77.0
15+
16+
## LICENSE
1317

1418
This project is primarily distributed under the terms of both the MIT license
1519
and the Apache License (Version 2.0).
1620

1721
See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details.
22+
23+
[kernel TLS offload]: https://www.kernel.org/doc/html/latest/networking/tls-offload.html
24+
[rustls]: https://docs.rs/rustls/latest/rustls/kernel/index.html

0 commit comments

Comments
 (0)