feat: optimize code

This commit is contained in:
2023-12-09 22:02:31 +08:00
parent 993f10ba71
commit 0a815dbbdf
2 changed files with 5 additions and 35 deletions

View File

@@ -9,7 +9,7 @@ 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 = ["decrypt", "macos", "secure-enclave"]
default = ["decrypt", "macos", "smartcard", "secure-enclave"]
decrypt = ["smartcard"]
smartcard = ["openpgp-card", "openpgp-card-pcsc", "yubikey"]
macos = ["security-framework"]