Skip to content

Commit

Permalink
✨🌐 Add QWERTZ adjacency graph (#2)
Browse files Browse the repository at this point in the history
* yxcvbn adjacency 1

* yxcvbn adjacency 2

* yxcvbn adjacency 3

* yxcvbn adjacency 4

* remove clippy and rustfmt toml

* first changes to yxcvbn

* update workflow

* add sast checks

* fix adjacency tests

* update cargo.toml

* update cargo.toml

* update cargo.toml

---------

Co-authored-by: Lia <[email protected]>
  • Loading branch information
TadaaLiia and Lia authored Mar 5, 2024
1 parent c97112b commit 8088d30
Show file tree
Hide file tree
Showing 10 changed files with 778 additions and 22 deletions.
24 changes: 14 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
[package]
authors = ["Josh Holmer <[email protected]>"]
authors = [
"Josh Holmer <[email protected]>",
"Lia an Haack <[email protected]>",
"Fabian Odenthal <[email protected]>",
]
description = "An entropy-based password strength estimator, originally for Javascript by Dropbox."
documentation = "https://docs.rs/zxcvbn"
homepage = "https://github.com/shssoichiro/zxcvbn-rs"
documentation = "https://docs.rs/yxcvbn"
homepage = "https://identeco.de/"
license = "MIT"
name = "zxcvbn"
repository = "https://github.com/shssoichiro/zxcvbn-rs"
name = "yxcvbn"
repository = "https://github.com/Identeco/yxcvbn"
version = "2.2.2"
edition = "2021"
rust-version = "1.63"

[badges]
maintenance = { status = "passively-maintained" }
maintenance = { status = "actively-developed" }

[dependencies]
derive_builder = { version = "0.12.0", optional = true }
fancy-regex = "0.11.0"
itertools = "0.10.0"
derive_builder = { version = "0.20.0", optional = true }
fancy-regex = "0.13.0"
itertools = "0.12.1"
lazy_static = "1.3"
quick-error = "2.0"
regex = "1"
Expand All @@ -36,7 +40,7 @@ version = "1"
[dev-dependencies]
quickcheck = "1.0.0"
serde_json = "1"
criterion = "0.4"
criterion = "0.5.1"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# zxcvbn
# yxcvbn

[![Version](https://img.shields.io/crates/v/zxcvbn.svg)](https://crates.io/crates/zxcvbn)
[![License](https://img.shields.io/crates/l/zxcvbn.svg)](https://github.com/shssoichiro/zxcvbn-rs/blob/master/LICENSE)
Expand Down Expand Up @@ -41,9 +41,9 @@ Full API documentation can be found [here](https://docs.rs/zxcvbn/*/zxcvbn/).
Usage example:

```rust
extern crate zxcvbn;
extern crate yxcvbn;

use zxcvbn::zxcvbn;
use yxcvbn::zxcvbn;

fn main() {
let estimate = zxcvbn("correcthorsebatterystaple", &[]).unwrap();
Expand Down
2 changes: 1 addition & 1 deletion benches/zxcvbn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use criterion::black_box;
use criterion::Criterion;
use criterion::{criterion_group, criterion_main};

use zxcvbn::zxcvbn;
use yxcvbn::zxcvbn;

pub fn bench_zxcvbn(c: &mut Criterion) {
c.bench_function("zxcvbn", |b| {
Expand Down
2 changes: 1 addition & 1 deletion benches/zxcvbn_unicode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use criterion::black_box;
use criterion::Criterion;
use criterion::{criterion_group, criterion_main};

use zxcvbn::zxcvbn;
use yxcvbn::zxcvbn;

pub fn bench_zxcvbn_unicode(c: &mut Criterion) {
c.bench_function("zxcvbn_unicode", |b| {
Expand Down
1 change: 0 additions & 1 deletion clippy.toml

This file was deleted.

1 change: 0 additions & 1 deletion rustfmt.toml

This file was deleted.

Loading

0 comments on commit 8088d30

Please sign in to comment.