feat: install from git

This commit is contained in:
2024-11-17 11:29:43 +08:00
parent fd0751d348
commit 408b3e468b
2 changed files with 7 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ repository = "https://git.hatter.ink/hatter/tiny-encrypt-rs"
[features]
default = ["decrypt", "macos", "smartcard"]
all-features = ["decrypt", "macos", "smartcard", "secure-enclave"]
full-features = ["decrypt", "macos", "smartcard", "secure-enclave"]
decrypt = ["smartcard"]
smartcard = ["openpgp-card", "openpgp-card-pcsc", "yubikey"]
macos = ["security-framework"]

View File

@@ -26,6 +26,12 @@ Compile only encrypt:
cargo build --release --no-default-features
```
Install from git:
```shell
git install --git https://git.hatter.ink/hatter/tiny-encrypt-rs.git --full-features
```
Edit encrypted file:
```shell