Skip to content

Commit

Permalink
Merge pull request #43 from sebastienrousseau/feat/hsh
Browse files Browse the repository at this point in the history
feat(hsh): ✨ v0.0.7
  • Loading branch information
sebastienrousseau authored Nov 5, 2023
2 parents 23a9e65 + 918cd5e commit ee5b116
Show file tree
Hide file tree
Showing 14 changed files with 317 additions and 222 deletions.
4 changes: 2 additions & 2 deletions .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ version = 1
name = "rust"
enabled = true

[analyzers.meta]
msrv = "stable"
[analyzers.meta]
msrv = "stable"
123 changes: 20 additions & 103 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 12 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
authors = ["Sebastien Rousseau <sebastian.rousseau@gmail.com>"]
authors = ["Hash (HSH) Contributors"]
build = "build.rs"
categories = [
"algorithms",
Expand All @@ -8,17 +8,20 @@ categories = [
"data-structures",
"encoding",
]
description = "Quantum-Resistant Cryptographic Hash Library for Password Encryption and Verification in Rust"
description = """
Quantum-Resistant Cryptographic Hash Library for Password Encryption and
Verification in Rust.
"""
documentation = "https://docs.rs/hsh"
edition = "2021"
exclude = ["/.git/*", "/.github/*", "/.gitignore", "/.vscode/*"]
homepage = "https://minifunctions.com/"
homepage = "https://hshlib.one/"
keywords = ["argon2", "argon2i", "hash", "password", "security"]
license = "MIT OR Apache-2.0"
name = "hsh"
repository = "https://github.com/sebastienrousseau/hsh/"
rust-version = "1.69.0"
version = "0.0.6"
rust-version = "1.71.1"
version = "0.0.7"
include = [
"/CONTRIBUTING.md",
"/LICENSE-APACHE",
Expand Down Expand Up @@ -50,14 +53,14 @@ path = "examples/hsh.rs"

[dependencies]
argon2rs = "0.2.5"
base64 = "0.21.4"
base64 = "0.21.5"
bcrypt = "0.15.0"
dtt = "0.0.4"
log = {version="0.4.20", features = ["std"] }
openssl = { version = "0.10.57", features = ["vendored"] }
# openssl = { version = "0.10.59", features = ["vendored"] }
scrypt = "0.11.0"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
serde = { version = "1.0.190", features = ["derive"] }
serde_json = "1.0.108"
vrd = "0.0.4"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ file:

```toml
[dependencies]
hsh = "0.0.6"
hsh = "0.0.7"
```

Add the following to your `main.rs` file:
Expand Down Expand Up @@ -239,6 +239,6 @@ lot of useful suggestions on how to improve this project.
[crates-badge]: https://img.shields.io/crates/v/hsh.svg?style=for-the-badge 'Crates.io'
[divider]: https://kura.pro/common/images/elements/divider.svg "divider"
[docs-badge]: https://img.shields.io/docsrs/hsh.svg?style=for-the-badge 'Docs.rs'
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.6-orange.svg?style=for-the-badge 'Lib.rs'
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.7-orange.svg?style=for-the-badge 'Lib.rs'
[license-badge]: https://img.shields.io/crates/l/hsh.svg?style=for-the-badge 'License'
[made-with-rust]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust 'Made With Rust'
4 changes: 2 additions & 2 deletions TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
alt="Hash (HSH) logo" width="261" align="right" />

<!-- markdownlint-enable MD033 MD041 -->
# Hash (HSH) v0.0.6
# Hash (HSH) v0.0.7

Quantum-Resistant Cryptographic Hash Library for Password Hashing and
Verification
Expand Down Expand Up @@ -82,7 +82,7 @@ Hash (HSH) is a lightweight library that can easily integrate into any Rust proj
[crates-badge]: https://img.shields.io/crates/v/hsh.svg?style=for-the-badge 'Crates.io'
[divider]: https://kura.pro/common/images/elements/divider.svg "divider"
[docs-badge]: https://img.shields.io/docsrs/hsh.svg?style=for-the-badge 'Docs.rs'
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.6-orange.svg?style=for-the-badge 'Lib.rs'
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.7-orange.svg?style=for-the-badge 'Lib.rs'
[license-badge]: https://img.shields.io/crates/l/hsh.svg?style=for-the-badge 'License'
[made-with-rust]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust 'Made With Rust'

Expand Down
12 changes: 4 additions & 8 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
// Copyright © 2023 Hash (HSH) library. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! The main function of the build script.
//! This is the main function for the build script.
//!
//! This function is executed when building the crate and performs certain tasks
//! necessary for the build process.
//!
//! It prints a "cargo:rerun-if-changed" directive to indicate that the build
//! should be re-run if the "build.rs" file is changed.
//! Currently, it only instructs Cargo to re-run this build script if `build.rs` is changed.
fn main() {
// println!("cargo:rerun-if-changed=src/lib.rs");
// Avoid unnecessary re-building.
println!("cargo:rerun-if-changed=build.rs");
}
}
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ skip-tree = []
notice = "deny"
unmaintained = "deny"
unsound = "deny"
vulnerability = "deny"
vulnerability = "deny"
Loading

0 comments on commit ee5b116

Please sign in to comment.