Skip to content

Commit

Permalink
Workspace.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctsrc committed Apr 6, 2024
1 parent 60c47de commit 3b0b0ad
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 15 deletions.
16 changes: 5 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
[package]
name = "pgen"
description = "Passphrase Generator"
license = "ISC"
readme = "README.md"
repository = "https://github.com/ctsrc/Pgen"
version = "2.0.0-alpha.1"
authors = ["Erik Nordstrøm <[email protected]>"]
categories = ["command-line-utilities", "cryptography"]
edition = "2021"
[workspace]
resolver = "2"

[dependencies]
members = [ "crates/pgen", ]

[workspace.dependencies]
rand = "0.8.5"
clap = { version = "4.5.4", default-features = false, features = ["std", "derive", "help", "usage", "error-context"] }
14 changes: 14 additions & 0 deletions crates/pgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "pgen"
description = "Passphrase Generator"
license = "ISC"
readme = "README.md"
repository = "https://github.com/ctsrc/Pgen"
version = "2.0.0-alpha.1"
authors = ["Erik Nordstrøm <[email protected]>"]
categories = ["command-line-utilities", "cryptography"]
edition = "2021"

[dependencies]
rand = { workspace = true }
clap = { workspace = true }
File renamed without changes.
8 changes: 4 additions & 4 deletions build.rs → crates/pgen/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ fn main() {
words_eff(
&f,
"WL_AUTOCOMPLETE",
"data/wordlists/eff_short_wordlist_2_0.txt",
"../../data/eff_short_wordlist_2_0.txt",
);
words_eff(&f, "WL_LONG", "data/wordlists/eff_large_wordlist.txt");
words_eff(&f, "WL_SHORT", "data/wordlists/eff_short_wordlist_1.txt");
words_simple(&f, "WL_BIP39", "data/wordlists/bip39_en_wordlist.txt");
words_eff(&f, "WL_LONG", "../../data/eff_large_wordlist.txt");
words_eff(&f, "WL_SHORT", "../../data/eff_short_wordlist_1.txt");
words_simple(&f, "WL_BIP39", "../../data/bip39_en_wordlist.txt");
}
File renamed without changes.

0 comments on commit 3b0b0ad

Please sign in to comment.