From 1340f73badbd04065df26f1d7a6291d55cb52682 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 17 Mar 2024 12:48:01 +0800 Subject: [PATCH] feat: 1.7.11, update dependencies, change default features --- Cargo.toml | 3 +-- justfile | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 50f2db9..76c014f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,8 +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", "smartcard"] -full = ["decrypt", "macos", "smartcard", "secure-enclave"] +default = ["decrypt", "macos", "smartcard", "secure-enclave"] decrypt = ["smartcard"] smartcard = ["openpgp-card", "openpgp-card-pcsc", "yubikey"] macos = ["security-framework"] diff --git a/justfile b/justfile index 37e709e..36fc224 100644 --- a/justfile +++ b/justfile @@ -3,11 +3,11 @@ _: # Install local install: - cargo install --no-default-features --features full --path . + cargo install --path . # Default build release build: - cargo build --no-default-features --features full --release + cargo build --release # Build release without features build-no-features: @@ -20,4 +20,4 @@ try-build-all: cargo build --no-default-features --features decrypt cargo build --no-default-features --features macos cargo build --no-default-features --features secure-enclave - cargo build --no-default-features --features full + cargo build