@@ -13,7 +13,7 @@ keywords = ["secrets", "vault", "keyring"]
1313license = " MIT/Apache-2.0"
1414repository = " https://github.com/mikelodder7/cryptex"
1515readme = " README.md"
16- version = " 1.11 .0"
16+ version = " 2.0 .0"
1717
1818[lib ]
1919crate-type = [" staticlib" , " rlib" , " cdylib" ]
@@ -24,28 +24,27 @@ name = "cryptex"
2424[features ]
2525default = [" linux-secret-service" , " macos-keychain" , " windows-credentials" ]
2626file = [" argon2" , " chacha20poly1305" , " dirs" , " rusqlite" ]
27- linux-secret-service = [" secret-service" , " users " ]
28- macos-keychain = [" security-framework" , " security-framework-sys" , " core-foundation" , " core-foundation-sys" , " users " ]
29- windows-credentials = [" winapi " , " byteorder " ]
27+ linux-secret-service = [" secret-service" , " uzers " ]
28+ macos-keychain = [" security-framework" , " security-framework-sys" , " core-foundation" , " core-foundation-sys" , " uzers " ]
29+ windows-credentials = [" windows " ]
3030
3131[dependencies ]
32- atty = " 0.2"
33- clap = " 2.33"
32+ clap = " 4"
3433colored = " 3.0"
3534hex = " 0.4"
3635rpassword = " 7"
3736serde = { version = " 1" , optional = true }
3837subtle = " 2"
39- whoami = " 1.6 "
38+ whoami = " 2 "
4039zeroize = { version = " 1" , features = [" zeroize_derive" ] }
4140
4241argon2 = { version = " 0.5" , optional = true }
4342chacha20poly1305 = { version = " 0.10" , optional = true }
4443dirs = { version = " 6.0" , optional = true }
45- rusqlite = { version = " 0.37 " , features = [" bundled-sqlcipher-vendored-openssl" ], optional = true }
44+ rusqlite = { version = " 0.38 " , features = [" bundled-sqlcipher-vendored-openssl" ], optional = true }
4645
4746[target .'cfg(any(target_os = "macos", target_os = "linux"))' .dependencies ]
48- users = { version = " 0.11 " , optional = true }
47+ uzers = { version = " 0.12 " , optional = true }
4948
5049[target .'cfg(target_os = "macos")' .dependencies ]
5150security-framework = { version = " 3" , optional = true }
@@ -57,5 +56,10 @@ core-foundation-sys = { version = "0.8.7", optional = true }
5756secret-service = { version = " 5" , features = [" rt-tokio-crypto-rust" ], optional = true }
5857
5958[target .'cfg(target_os = "windows")' .dependencies ]
60- winapi = { version = " 0.3" , features = [" dpapi" , " errhandlingapi" , " wincred" , " winerror" ], optional = true }
61- byteorder = { version = " 1.5" , optional = true }
59+ windows = { version = " 0.62" , features = [
60+ " Win32_Foundation" ,
61+ " Win32_Security_Credentials" ,
62+ " Win32_Security_Cryptography" ,
63+ " Win32_Storage_FileSystem" ,
64+ ], optional = true }
65+
0 commit comments