Skip to content

Commit 3504b4a

Browse files
authored
Break core code into modules (#41)
Split one-file implementation up to submodules Fixes #18
1 parent b106cbd commit 3504b4a

File tree

14 files changed

+1063
-1040
lines changed

14 files changed

+1063
-1040
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@ jobs:
1616
run: cargo build --verbose
1717
- name: Run tests
1818
run: cargo test --verbose
19+
- name: Run tests with zeroize
20+
run: cargo test --verbose --features zeroize
21+
- name: Run tests with use-unsafe
22+
run: cargo test --verbose --features use-unsafe
23+
- name: Run tests with all features
24+
run: cargo test --verbose --all-features

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fixed-bigint"
3-
version = "0.1.11"
3+
version = "0.1.12"
44
authors = ["kaidokert <[email protected]>"]
55
documentation = "https://docs.rs/fixed-bigint"
66
edition = "2018"

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ _TODO list_:
2525
* Some test code relies on 64-bit ToPrimitive/FromPrimitive conversions, clean this up
2626
* Lots of test code can be written cleaner
2727
* Maybe implement signed version as well.
28+
* Adopt `const_trait` from nightly and constify everything
2829

2930
_Note:_ This crate is mostly written as an exercise for learning the Rust type system and understanding how well it works on microcontrollers, its fitness for any particular purpose or quality has precisely zero guarantees.
3031

31-
If you are looking for production quality implementation with `no_std`, fixed-size bigint, suitable for crypto, please check out [crypto-bigint](https://github.com/RustCrypto/crypto-bigint) crate.
32+
If you are looking for production quality implementation with `no_std`, fixed-size bigint, suitable for crypto, please check out [crypto-bigint](https://github.com/RustCrypto/crypto-bigint) or [bnum](https://crates.io/crates/bnum) crate.
3233

3334
## Contributing
3435

0 commit comments

Comments
 (0)