Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
aspect committed Dec 2, 2023
1 parent 407c2d4 commit 7fac7bd
Show file tree
Hide file tree
Showing 38 changed files with 2,156 additions and 1,657 deletions.
16 changes: 9 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,24 +131,26 @@ derivative = "2.2.0"
downcast = "0.11.0"
downcast-rs = "1.2.0"
env_logger = "0.10"
futures = { version = "0.3" }
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
futures = { version = "0.3.29" }
futures-util = { version = "0.3.29", default-features = false, features = ["alloc"] }
image = { version = "0.24.7", default-features = false, features = ["png"] }
js-sys = "0.3.64"
log = "0.4"
log = "0.4.20"
nix = "0.27.1"
num_cpus = "1.15.0"
pad = "0.1.6"
passwords = "3.1.16"
qrcode = "0.12.0"
rand = "0.8"
rand = "0.8.5"
rfd = "0.12.1"
ritehash = "0.2.0"
rlimit = "0.10.1"
separator = "0.4.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.107"
slug = "0.1.4"
serde_json = "1.0.108"
slug = "0.1.5"
sysinfo = "0.29.10"
thiserror = "1.0.47"
thiserror = "1.0.50"
tokio = { version = "1", features = ["sync", "rt-multi-thread", "process"] }
wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4"
Expand Down
4 changes: 3 additions & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,17 @@ downcast-rs.workspace = true
downcast.workspace = true
futures-util.workspace = true
futures.workspace = true
image.workspace = true
js-sys.workspace = true
log.workspace = true
pad.workspace = true
passwords.workspace = true
qrcode.workspace = true
rfd.workspace = true
ritehash.workspace = true
separator.workspace = true
serde.workspace = true
serde_json.workspace = true
serde.workspace = true
slug.workspace = true
thiserror.workspace = true
wasm-bindgen.workspace = true
Expand Down
4 changes: 1 addition & 3 deletions core/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ cfg_if! {
;

let matches = cmd.get_matches();
// println!("matches: {:#?}", matches);

if matches.subcommand_matches("cli").is_some() {
Args::Cli
} else if let Some(matches) = matches.subcommand_matches("i18n") {
Expand All @@ -107,8 +105,8 @@ cfg_if! {
std::process::exit(1);
}
} else {
let reset_settings = matches.get_one::<bool>("reset-settings").cloned().unwrap_or(false);
let disable = matches.get_one::<bool>("disable").cloned().unwrap_or(false);
let reset_settings = matches.get_one::<bool>("reset-settings").cloned().unwrap_or(false);

Args::Kng { reset_settings, disable }
}
Expand Down
Loading

0 comments on commit 7fac7bd

Please sign in to comment.