feat: v1.0.0, suport exec-env

This commit is contained in:
2023-12-02 15:26:15 +08:00
parent 0bf4ef2e6b
commit 76b8f93ddd
9 changed files with 270 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "tiny-encrypt"
version = "0.9.1"
version = "1.0.0"
edition = "2021"
license = "MIT"
description = "A simple and tiny file encrypt tool"
@@ -9,8 +9,9 @@ repository = "https://git.hatter.ink/hatter/tiny-encrypt-rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["smartcard"]
default = ["smartcard", "macos"]
smartcard = ["openpgp-card", "openpgp-card-pcsc", "yubikey"]
macos = ["security-framework"]
[dependencies]
aes-gcm-stream = "0.2"
@@ -32,6 +33,7 @@ rpassword = "7.3"
rsa = { version = "0.9", features = ["pem"] }
rust-crypto = "0.2"
rust_util = "0.6"
security-framework = { version = "2.9.2", features = ["OSX_10_15"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
simpledateformat = "0.1"