feat: v1.1.1, fix
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1691,7 +1691,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tiny-encrypt"
|
name = "tiny-encrypt"
|
||||||
version = "1.1.0"
|
version = "1.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes-gcm-stream",
|
"aes-gcm-stream",
|
||||||
"base64",
|
"base64",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tiny-encrypt"
|
name = "tiny-encrypt"
|
||||||
version = "1.1.0"
|
version = "1.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
description = "A simple and tiny file encrypt tool"
|
description = "A simple and tiny file encrypt tool"
|
||||||
|
|||||||
@@ -14,9 +14,6 @@ pub struct CmdKeychainKey {
|
|||||||
/// Service name, or tiny-encrypt
|
/// Service name, or tiny-encrypt
|
||||||
#[arg(long, short = 's')]
|
#[arg(long, short = 's')]
|
||||||
pub server_name: Option<String>,
|
pub server_name: Option<String>,
|
||||||
/// Key type, or default x25519
|
|
||||||
#[arg(long, short = 't')]
|
|
||||||
pub key_type: Option<String>,
|
|
||||||
/// Key name
|
/// Key name
|
||||||
#[arg(long, short = 'n')]
|
#[arg(long, short = 'n')]
|
||||||
pub key_name: String,
|
pub key_name: String,
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ pub struct CmdVersion {}
|
|||||||
|
|
||||||
pub fn version(_cmd_version: CmdVersion) -> XResult<()> {
|
pub fn version(_cmd_version: CmdVersion) -> XResult<()> {
|
||||||
let mut features: Vec<&str> = vec![];
|
let mut features: Vec<&str> = vec![];
|
||||||
#[cfg(feature = "smartcard")]
|
#[cfg(feature = "encrypt")]
|
||||||
features.push("smartcard");
|
features.push("encrypt");
|
||||||
#[cfg(feature = "macos")]
|
#[cfg(feature = "macos")]
|
||||||
features.push("macos");
|
features.push("macos");
|
||||||
if features.is_empty() { features.push("-"); }
|
if features.is_empty() { features.push("-"); }
|
||||||
|
|||||||
Reference in New Issue
Block a user