From 408b3e468b8ccbf370c6b28782ce2e91741aef21 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 17 Nov 2024 11:29:43 +0800 Subject: [PATCH] feat: install from git --- Cargo.toml | 2 +- README.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e7c1f6b..7e6f861 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/README.md b/README.md index a2e1999..865bcc4 100644 --- a/README.md +++ b/README.md @@ -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