Update dependencies

This commit is contained in:
Lncvrt committed 2025-02-17 11:36:38 -07:00
1 parent 36a9ff41fd
commit 19ca861057
6 files changed
+856 -533

No files matched your search

+442 -124
View File
File diff suppressed because it is too large. Load diff
+7 -7
View File
@@ -1,6 +1,6 @@
[package]
name = "password-generator"
version = "1.0.0"
version = "1.0.1-preview"
description = "A insanely basic app, for generating passwords"
authors = ["Lncvrt"]
edition = "2021"
@@ -15,11 +15,11 @@ name = "password_generator_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
tauri-build = { version = "2.0.5", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rand = "0.8.5"
tauri = { version = "2.2.5", features = [] }
tauri-plugin-opener = "2.2.5"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.138"
rand = "0.9.0"
+2 -2
View File
@@ -5,9 +5,9 @@ fn generate_password(length: u8) -> String {
let chars: Vec<char> = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*"
.chars()
.collect();
let mut rng = rand::thread_rng();
let mut rng = rand::rng();
(0..length)
.map(|_| chars[rng.gen_range(0..chars.len())])
.map(|_| chars[rng.random_range(0..chars.len())])
.collect()
}
-1
View File
@@ -1,7 +1,6 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Password Generator",
"version": "1.0.0",
"identifier": "xyz.lncvrt.password-generator.app",
"build": {
"beforeDevCommand": "yarn dev",