Skip to content

Commit 6d13a32

Browse files
v0.0.5
1 parent c41b350 commit 6d13a32

File tree

5 files changed

+19
-46
lines changed

5 files changed

+19
-46
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ license = "MIT OR Apache-2.0"
3030
name = "kyberlib"
3131
readme = "README.md"
3232
repository = "https://github.com/sebastienrousseau/kyberlib"
33-
version = "0.0.4"
33+
version = "0.0.5"
3434

3535
[dependencies]
3636
aes = { version = "0.8.4", optional = true }

README.md

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,9 @@ A Robust Rust Library for CRYSTALS-Kyber Post-Quantum Cryptography.
1818
<center>
1919
<!-- markdownlint-enable MD033 MD041 -->
2020

21-
[![Made With Rust][made-with-rust-badge]][05]
22-
[![Crates.io][crates-badge]][07]
23-
[![Lib.rs][libs-badge]][09]
24-
[![Docs.rs][docs-badge]][08]
25-
[![License][license-badge]][02]
26-
27-
[Website][00]
28-
[Documentation][08]
29-
[Report Bug][03]
30-
[Request Feature][03]
31-
[Contributing Guidelines][04]
21+
[![Made With Love][made-with-rust]][05] [![Crates.io][crates-badge]][07] [![Lib.rs][libs-badge]][09] [![Docs.rs][docs-badge]][08] [![License][license-badge]][02] [![Codecov][codecov-badge]][15]
22+
23+
[Website][00][Documentation][08][Report Bug][03][Request Feature][03][Contributing Guidelines][04]
3224

3325
<!-- markdownlint-disable MD033 MD041 -->
3426
</center>
@@ -73,7 +65,7 @@ It takes just a few minutes to get up and running with `kyberlib`.
7365
### Requirements
7466

7567
The minimum supported Rust toolchain version is currently Rust
76-
**1.56.0** or later (stable).
68+
**1.60** or later (stable).
7769

7870
### Installation
7971

@@ -95,7 +87,7 @@ To use the `kyberlib` library in your project, add the following to your
9587

9688
```toml
9789
[dependencies]
98-
kyberlib = "0.0.4"
90+
kyberlib = "0.0.5"
9991
```
10092

10193
Add the following to your `main.rs` file:
@@ -303,10 +295,12 @@ providing a lot of useful suggestions on how to improve this project.
303295
[12]: https://www.reddit.com/r/rust/ "Reddit"
304296
[13]: https://www.rust-lang.org/learn/get-started "Rust"
305297
[14]: https://github.com/Argyle-Software/kyber "Kyber from Argyle-Software"
298+
[15]: https://codecov.io/gh/sebastienrousseau/kyberlib "Codecov"
306299

307-
[crates-badge]: https://img.shields.io/crates/v/kyberlib.svg?style=for-the-badge 'Crates.io badge'
300+
[crates-badge]: https://img.shields.io/crates/v/kyberlib.svg?style=for-the-badge 'Crates.io'
301+
[codecov-badge]: https://img.shields.io/codecov/c/github/sebastienrousseau/kyberlib?style=for-the-badge&token=oEisyTucB5 'Codecov'
308302
[divider]: https://kura.pro/common/images/elements/divider.svg "divider"
309-
[docs-badge]: https://img.shields.io/docsrs/kyberlib.svg?style=for-the-badge 'Docs.rs badge'
310-
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.1-orange.svg?style=for-the-badge 'Lib.rs badge'
311-
[license-badge]: https://img.shields.io/crates/l/kyberlib.svg?style=for-the-badge 'License badge'
312-
[made-with-rust-badge]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust 'Made With Rust badge'
303+
[docs-badge]: https://img.shields.io/docsrs/kyberlib.svg?style=for-the-badge 'Docs.rs'
304+
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.5-orange.svg?style=for-the-badge 'Lib.rs'
305+
[license-badge]: https://img.shields.io/crates/l/kyberlib.svg?style=for-the-badge 'License'
306+
[made-with-rust]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust 'Made With Rust'

TEMPLATE.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -40,30 +40,6 @@ A Robust Rust Library for CRYSTALS-Kyber Post-Quantum Cryptography
4040

4141
A Robust Rust Library for CRYSTALS-Kyber Post-Quantum Cryptography
4242

43-
## Features ✨
44-
45-
### Core Features
46-
47-
- **`no_std` compatible**: No dependence on the Rust standard library
48-
- **Avoid allocations**: Uses stack-based data structures only
49-
- **Configurable**: Features to enable different parameter sets
50-
- **Optimised x86_64**: Uses assembly for performance-critical code, including an optimised AVX2 version by default.
51-
- **Safe code**: Reference implementations have no `unsafe` blocks
52-
- **WebAssembly Support**: Can be compiled to WASM using wasm-bindgen.
53-
54-
### Advanced Features
55-
56-
- **Allocation-free Guarantee**: KyberLib guarantees all its core cryptography operations are free of heap allocations.
57-
- **Assembly Optimizations**: The x86_64 assembly implementations use AVX2 instructions for high performance.
58-
- **Security**: KyberLib contains no unsafe code in its public API surface.
59-
60-
## Functionality 📚
61-
62-
- **Key Generation**: Create public/private key pairs
63-
- **Encapsulation**: Encapsulate a shared secret with a public key
64-
- **Decapsulation**: Decapsulate a shared secret with a private key
65-
- **Key Exchange**: Perform authenticated key exchanges
66-
6743
[0]: https://kyberlib.com/
6844
[2]: http://opensource.org/licenses/MIT
6945
[3]: https://github.com/sebastienrousseau/kyberlib/kyberlib/issues
@@ -73,11 +49,10 @@ A Robust Rust Library for CRYSTALS-Kyber Post-Quantum Cryptography
7349
[8]: https://docs.rs/kyberlib
7450
[9]: https://lib.rs/crates/kyberlib
7551

76-
[banner]: https://via.placeholder.com/1500x500.png/000000/FFFFFF?text=kyberlib "kyberlib's banner"
7752
[crates-badge]: https://img.shields.io/crates/v/kyberlib.svg?style=for-the-badge 'Crates.io badge'
7853
[divider]: https://via.placeholder.com/1024x1.png/d8dee4/FFFFFF?text=− "kyberlib's divider"
7954
[docs-badge]: https://img.shields.io/docsrs/kyberlib.svg?style=for-the-badge 'Docs.rs badge'
80-
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.1-orange.svg?style=for-the-badge 'Lib.rs badge'
55+
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.5-orange.svg?style=for-the-badge 'Lib.rs badge'
8156
[license-badge]: https://img.shields.io/crates/l/kyberlib.svg?style=for-the-badge 'License badge'
8257
[made-with-rust-badge]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust 'Made With Rust badge'
8358

rustfmt.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
edition = "2018"
2+
max_width = 72
3+
tab_spaces = 4
4+
use_field_init_shorthand = true

0 commit comments

Comments
 (0)