feat: v1.1.1, fix

This commit is contained in:
2023-12-08 21:48:29 +08:00
parent fd7e8d35a6
commit 92e6808820
4 changed files with 4 additions and 7 deletions

2
Cargo.lock generated
View File

@@ -1691,7 +1691,7 @@ dependencies = [
[[package]]
name = "tiny-encrypt"
version = "1.1.0"
version = "1.1.1"
dependencies = [
"aes-gcm-stream",
"base64",

View File

@@ -1,6 +1,6 @@
[package]
name = "tiny-encrypt"
version = "1.1.0"
version = "1.1.1"
edition = "2021"
license = "MIT"
description = "A simple and tiny file encrypt tool"

View File

@@ -14,9 +14,6 @@ pub struct CmdKeychainKey {
/// Service name, or tiny-encrypt
#[arg(long, short = 's')]
pub server_name: Option<String>,
/// Key type, or default x25519
#[arg(long, short = 't')]
pub key_type: Option<String>,
/// Key name
#[arg(long, short = 'n')]
pub key_name: String,

View File

@@ -8,8 +8,8 @@ pub struct CmdVersion {}
pub fn version(_cmd_version: CmdVersion) -> XResult<()> {
let mut features: Vec<&str> = vec![];
#[cfg(feature = "smartcard")]
features.push("smartcard");
#[cfg(feature = "encrypt")]
features.push("encrypt");
#[cfg(feature = "macos")]
features.push("macos");
if features.is_empty() { features.push("-"); }