7 个稳定版本

1.3.1 2020年2月7日
1.3.0 2019年7月1日
1.2.1 2018年10月1日
1.2.0 2017年9月28日
1.0.0 2017年3月29日

#21 in #brain

Download history • Rust 包仓库 220/week @ 2024-03-11 • Rust 包仓库 197/week @ 2024-03-18 • Rust 包仓库 156/week @ 2024-03-25 • Rust 包仓库 246/week @ 2024-04-01 • Rust 包仓库 137/week @ 2024-04-08 • Rust 包仓库 172/week @ 2024-04-15 • Rust 包仓库 198/week @ 2024-04-22 • Rust 包仓库 129/week @ 2024-04-29 • Rust 包仓库 122/week @ 2024-05-06 • Rust 包仓库 122/week @ 2024-05-13 • Rust 包仓库 167/week @ 2024-05-20 • Rust 包仓库 152/week @ 2024-05-27 • Rust 包仓库 131/week @ 2024-06-03 • Rust 包仓库 83/week @ 2024-06-10 • Rust 包仓库 208/week @ 2024-06-17 • Rust 包仓库 145/week @ 2024-06-24 • Rust 包仓库

585 每月下载量
用于 sstp

GPL-3.0 许可证

69KB
186 代码行

单词列表

Parity 脑钱包单词列表库

Rust 文档

RUST

# Cargo.toml

[dependencies]
parity-wordlist = "1.3"
// main.rs

println!("Words: {}", parity_wordlist::random_phrase(12));

let phrase = "violin oblivion cylinder list disarray wobbly fastball showplace oasis patronize septic spearhead";
println!("Valid: {:?}", parity_wordlist::validate_phrase(phrase, 12));

JavaScript

$ npm i @parity/wordlist --save
// main.js

import { randomPhrase, verifyPhrase } from '@parity/wordlist'

console.log(randomPhrase(12))

// This will throw if the phrase is not valid:
verifyPhrase("violin oblivion cylinder list disarray wobbly fastball showplace oasis patronize septic spearhead", 12)

lib.rs:

Parity 脑钱包生成器。

依赖

~530KB