Skip to content

Commit 5aba2ca

Browse files
committed
Aligned to dependencies.
1 parent ee416d7 commit 5aba2ca

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ We love your input! We want to make contributing to this project as easy and tra
99
- Becoming a maintainer
1010

1111
## We Develop with Github
12+
1213
We use GitHub to host code, to track issues and feature requests, and to accept Pull Requests.
1314

14-
## Report Bugs using Github's [issues](https://github.com/briandk/transcriptase-atom/issues)
15+
## Report Bugs using Github's Issue Tracker
1516

1617
If you find bugs, mistakes, or inconsistencies in this project's code or documents, please let us know by [opening a new issue](./issues), but consider searching through existing issues first to check and see if the problem has already been reported. If it has, it never hurts to add a quick "+1" or "I have this problem too". This helps prioritize the most common problems and requests.
1718

@@ -24,12 +25,12 @@ If you find bugs, mistakes, or inconsistencies in this project's code or documen
2425
- A quick summary and/or background
2526
- Steps to reproduce
2627
- Be specific!
27-
- Give sample code if you can. [The stackoverflow bug report](http://stackoverflow.com/q/12488905/180626) includes sample code that *anyone* with a base R setup can run to reproduce what I was seeing
28+
- Give sample code if you can. [The stackoverflow bug report](http://stackoverflow.com/q/12488905/180626) includes sample code that _anyone_ with a base R setup can run to reproduce what I was seeing
2829
- What you expected would happen
2930
- What actually happens
3031
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
3132

32-
People *love* thorough bug reports. I'm not even kidding.
33+
People _love_ thorough bug reports. I'm not even kidding.
3334

3435
## Submit Code Changes through Pull Requests
3536

@@ -39,9 +40,9 @@ We ask that more significant improvements to the project be first proposed befor
3940

4041
### Use a Consistent Coding Style
4142

42-
* We indent using two spaces (soft tabs)
43-
* We ALWAYS put spaces after list items and method parameters ([1, 2, 3], not [1,2,3]), around operators (x += 1, not x+=1), and around hash arrows.
44-
* This is open-source software. Consider the people who will read your code, and make it look nice for them. It's sort of like driving a car: Perhaps you love doing donuts when you're alone, but with passengers the goal is to make the ride as smooth as possible.
43+
- We indent using two spaces (soft tabs)
44+
- We ALWAYS put spaces after list items and method parameters ([1, 2, 3], not [1,2,3]), around operators (x += 1, not x+=1), and around hash arrows.
45+
- This is open-source software. Consider the people who will read your code, and make it look nice for them. It's sort of like driving a car: Perhaps you love doing donuts when you're alone, but with passengers the goal is to make the ride as smooth as possible.
4546

4647
### Use [Github Flow](https://guides.github.com/introduction/flow/index.html) for Pull Requests
4748

@@ -61,5 +62,6 @@ In short, when you submit code changes, your submissions are understood to be av
6162
## References
6263

6364
Portions of this CONTRIBUTING.md document were adopted from best practices of a number of open source projects, including:
64-
* [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md)
65-
* [IPFS Contributing](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md)
65+
66+
- [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md)
67+
- [IPFS Contributing](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md)

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "bc-shamir"
3-
version = "0.6.0"
4-
edition = "2021"
3+
version = "0.7.0"
4+
edition = "2024"
55
description = "Shamir's Secret Sharing (SSS) for Rust."
66
authors = ["Blockchain Commons"]
77
repository = "https://github.com/BlockchainCommons/bc-shamir-rust"
@@ -12,8 +12,8 @@ keywords = ["cryptography"] # Up to five
1212
categories = ["cryptography"] # https://crates.io/category_slugs
1313

1414
[dependencies]
15-
bc-rand = "^0.3.0"
16-
bc-crypto = "^0.7.0"
15+
bc-rand = "^0.4.0"
16+
bc-crypto = "^0.8.0"
1717

1818
thiserror = "^1.0.48"
1919

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is a pure-Rust implementation of [Shamir's Secret Sharing (SSS)](https://en
1414

1515
```toml
1616
[dependencies]
17-
bc-shamir = "0.6.0"
17+
bc-shamir = "0.7.0"
1818
```
1919

2020
## Related Projects

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/bc-shamir/0.6.0")]
1+
#![doc(html_root_url = "https://docs.rs/bc-shamir/0.7.0")]
22
#![warn(rust_2018_idioms)]
33

44
//! ## Introduction
@@ -16,7 +16,7 @@
1616
//!
1717
//! ```toml
1818
//! [dependencies]
19-
//! bc-shamir = "0.6.0"
19+
//! bc-shamir = "0.7.0"
2020
//!```
2121
//!
2222
//! ## Usage
@@ -70,14 +70,14 @@ mod error;
7070
pub use error::Error;
7171

7272
mod shamir;
73-
pub use shamir::{recover_secret, split_secret};
73+
pub use shamir::{ recover_secret, split_secret };
7474

7575
#[cfg(test)]
7676
mod tests {
7777
use super::*;
7878
use bc_rand::RandomNumberGenerator;
7979
use hex_literal::hex;
80-
use rand::{CryptoRng, RngCore};
80+
use rand::{ CryptoRng, RngCore };
8181

8282
#[derive(Debug)]
8383
struct FakeRandomNumberGenerator;

0 commit comments

Comments
 (0)