mirror of
https://github.com/veeso/termscp.git
synced 2026-09-23 12:35:55 -07:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5cee1184dc | |||
| 4a9da89642 |
@@ -1,3 +1,15 @@
|
|||||||
|
## 1.1.1
|
||||||
|
|
||||||
|
Released on 2026-06-08
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- **build:** drop vergen-git2 build dependency
|
||||||
|
> vergen-git2 reads git metadata at build time, but the crates.io source
|
||||||
|
> tarball ships no .git, so the published 1.1.0 fails on `cargo install`.
|
||||||
|
> crates.io versions are immutable (no overwrite) and Chocolatey's
|
||||||
|
> moderation queue blocks a fast re-push, so a clean 1.1.1 without vergen
|
||||||
|
> is the only fix.
|
||||||
## 1.1.0
|
## 1.1.0
|
||||||
|
|
||||||
Released on 2026-06-08
|
Released on 2026-06-08
|
||||||
|
|||||||
Generated
+2
-126
@@ -811,31 +811,6 @@ dependencies = [
|
|||||||
"cipher 0.5.2",
|
"cipher 0.5.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "bon"
|
|
||||||
version = "3.9.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "f47dbe92550676ee653353c310dfb9cf6ba17ee70396e1f7cf0a2020ad49b2fe"
|
|
||||||
dependencies = [
|
|
||||||
"bon-macros",
|
|
||||||
"rustversion",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "bon-macros"
|
|
||||||
version = "3.9.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "519bd3116aeeb42d5372c29d982d16d0170d3d4a5ed85fc7dd91642ffff3c67c"
|
|
||||||
dependencies = [
|
|
||||||
"darling",
|
|
||||||
"ident_case",
|
|
||||||
"prettyplease",
|
|
||||||
"proc-macro2",
|
|
||||||
"quote",
|
|
||||||
"rustversion",
|
|
||||||
"syn",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bumpalo"
|
name = "bumpalo"
|
||||||
version = "3.20.3"
|
version = "3.20.3"
|
||||||
@@ -2191,18 +2166,6 @@ dependencies = [
|
|||||||
"url",
|
"url",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "git2"
|
|
||||||
version = "0.21.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "ddddbf932745a6be37109b6112d3ee09696106f848449069d3a57bba937ab82e"
|
|
||||||
dependencies = [
|
|
||||||
"bitflags 2.13.0",
|
|
||||||
"libc",
|
|
||||||
"libgit2-sys",
|
|
||||||
"log",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "glob"
|
name = "glob"
|
||||||
version = "0.3.3"
|
version = "0.3.3"
|
||||||
@@ -3455,15 +3418,6 @@ dependencies = [
|
|||||||
"bitflags 2.13.0",
|
"bitflags 2.13.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "ntapi"
|
|
||||||
version = "0.4.3"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "c3b335231dfd352ffb0f8017f3b6027a4917f7df785ea2143d8af2adc66980ae"
|
|
||||||
dependencies = [
|
|
||||||
"winapi",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nucleo"
|
name = "nucleo"
|
||||||
version = "0.5.0"
|
version = "0.5.0"
|
||||||
@@ -3635,27 +3589,6 @@ dependencies = [
|
|||||||
"objc2-core-foundation",
|
"objc2-core-foundation",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "objc2-io-kit"
|
|
||||||
version = "0.3.2"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "33fafba39597d6dc1fb709123dfa8289d39406734be322956a69f0931c73bb15"
|
|
||||||
dependencies = [
|
|
||||||
"libc",
|
|
||||||
"objc2-core-foundation",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "objc2-open-directory"
|
|
||||||
version = "0.3.2"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "bb82bed227edf5201dfedf072bba4015a33d3d4a98519837295a90f0a23f676d"
|
|
||||||
dependencies = [
|
|
||||||
"objc2",
|
|
||||||
"objc2-core-foundation",
|
|
||||||
"objc2-foundation",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "objc2-system-configuration"
|
name = "objc2-system-configuration"
|
||||||
version = "0.3.2"
|
version = "0.3.2"
|
||||||
@@ -3988,7 +3921,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "30b8c63418f1e7dfbb786268ae0927537b87d90b1211216c1ba50ce25d8d9495"
|
checksum = "30b8c63418f1e7dfbb786268ae0927537b87d90b1211216c1ba50ce25d8d9495"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cc",
|
"cc",
|
||||||
"git2 0.20.4",
|
"git2",
|
||||||
"glob",
|
"glob",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -6030,7 +5963,7 @@ dependencies = [
|
|||||||
"anyhow",
|
"anyhow",
|
||||||
"bitflags 2.13.0",
|
"bitflags 2.13.0",
|
||||||
"dirs",
|
"dirs",
|
||||||
"git2 0.20.4",
|
"git2",
|
||||||
"glob",
|
"glob",
|
||||||
"log",
|
"log",
|
||||||
"thiserror 2.0.18",
|
"thiserror 2.0.18",
|
||||||
@@ -6133,21 +6066,6 @@ dependencies = [
|
|||||||
"syn",
|
"syn",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "sysinfo"
|
|
||||||
version = "0.39.3"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "21d0d938c10fcda3e897e28aaddf4ab462375d411f4378cd63b1c945f69aba96"
|
|
||||||
dependencies = [
|
|
||||||
"libc",
|
|
||||||
"memchr",
|
|
||||||
"ntapi",
|
|
||||||
"objc2-core-foundation",
|
|
||||||
"objc2-io-kit",
|
|
||||||
"objc2-open-directory",
|
|
||||||
"windows 0.62.2",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "system-configuration"
|
name = "system-configuration"
|
||||||
version = "0.5.1"
|
version = "0.5.1"
|
||||||
@@ -6268,7 +6186,6 @@ dependencies = [
|
|||||||
"tuirealm",
|
"tuirealm",
|
||||||
"unicode-width",
|
"unicode-width",
|
||||||
"uzers",
|
"uzers",
|
||||||
"vergen-git2",
|
|
||||||
"whoami",
|
"whoami",
|
||||||
"wildmatch",
|
"wildmatch",
|
||||||
"windows-native-keyring-store",
|
"windows-native-keyring-store",
|
||||||
@@ -6849,47 +6766,6 @@ version = "0.2.15"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "vergen"
|
|
||||||
version = "10.0.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "7bdf18a54cf91b4d98a8e8b67f6321606539fbcdcac02536286ad1de37b53fd2"
|
|
||||||
dependencies = [
|
|
||||||
"anyhow",
|
|
||||||
"bon",
|
|
||||||
"rustc_version",
|
|
||||||
"rustversion",
|
|
||||||
"sysinfo",
|
|
||||||
"time",
|
|
||||||
"vergen-lib",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "vergen-git2"
|
|
||||||
version = "10.0.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "b6e1ddb3075d894c0796fa8e592b778b1a6c034cb95d254372e5c2270adbfbfe"
|
|
||||||
dependencies = [
|
|
||||||
"anyhow",
|
|
||||||
"bon",
|
|
||||||
"git2 0.21.0",
|
|
||||||
"rustversion",
|
|
||||||
"time",
|
|
||||||
"vergen",
|
|
||||||
"vergen-lib",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "vergen-lib"
|
|
||||||
version = "10.0.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "910e8471e27130bbc019e9bfa6bda16dfc4c6dd7c5d0793da70a9256caeae984"
|
|
||||||
dependencies = [
|
|
||||||
"anyhow",
|
|
||||||
"bon",
|
|
||||||
"rustversion",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "version_check"
|
name = "version_check"
|
||||||
version = "0.9.5"
|
version = "0.9.5"
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "termscp"
|
name = "termscp"
|
||||||
version = "1.1.0"
|
version = "1.1.1"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
authors = ["Christian Visintin <christian.visintin@veeso.dev>"]
|
authors = ["Christian Visintin <christian.visintin@veeso.dev>"]
|
||||||
description = "termscp is a feature rich terminal file transfer and explorer with support for SCP/SFTP/FTP/Kube/S3/WebDAV"
|
description = "termscp is a feature rich terminal file transfer and explorer with support for SCP/SFTP/FTP/Kube/S3/WebDAV"
|
||||||
@@ -118,7 +118,6 @@ serial_test = "3"
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cfg_aliases = "0.2"
|
cfg_aliases = "0.2"
|
||||||
vergen-git2 = { version = "10", features = ["build", "cargo", "rustc", "si"] }
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "termscp"
|
name = "termscp"
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
use cfg_aliases::cfg_aliases;
|
use cfg_aliases::cfg_aliases;
|
||||||
use vergen_git2::{Build, Cargo, Emitter, Git2, Rustc, Sysinfo};
|
|
||||||
|
|
||||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
fn main() {
|
||||||
// Setup cfg aliases
|
// Setup cfg aliases
|
||||||
cfg_aliases! {
|
cfg_aliases! {
|
||||||
// Platforms
|
// Platforms
|
||||||
@@ -14,20 +13,4 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
smb_unix: { all(unix, feature = "smb") },
|
smb_unix: { all(unix, feature = "smb") },
|
||||||
smb_windows: { all(windows, feature = "smb") }
|
smb_windows: { all(windows, feature = "smb") }
|
||||||
}
|
}
|
||||||
|
|
||||||
let build = Build::all_build();
|
|
||||||
let cargo = Cargo::all_cargo();
|
|
||||||
let git2 = Git2::all_git();
|
|
||||||
let rustc = Rustc::all_rustc();
|
|
||||||
let si = Sysinfo::all_sysinfo();
|
|
||||||
|
|
||||||
Emitter::default()
|
|
||||||
.add_instructions(&build)?
|
|
||||||
.add_instructions(&cargo)?
|
|
||||||
.add_instructions(&git2)?
|
|
||||||
.add_instructions(&rustc)?
|
|
||||||
.add_instructions(&si)?
|
|
||||||
.emit()?;
|
|
||||||
|
|
||||||
Ok(())
|
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
|
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>termscp</id>
|
<id>termscp</id>
|
||||||
<version>1.1.0</version>
|
<version>1.1.1</version>
|
||||||
<title>termSCP</title>
|
<title>termSCP</title>
|
||||||
<authors>Christian Visintin</authors>
|
<authors>Christian Visintin</authors>
|
||||||
<owners>Christian Visintin</owners>
|
<owners>Christian Visintin</owners>
|
||||||
|
|||||||
+2
-2
@@ -5,10 +5,10 @@ $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
|||||||
$is_arm64 = $env:PROCESSOR_ARCHITECTURE -eq 'ARM64' -or $env:PROCESSOR_ARCHITEW6432 -eq 'ARM64'
|
$is_arm64 = $env:PROCESSOR_ARCHITECTURE -eq 'ARM64' -or $env:PROCESSOR_ARCHITEW6432 -eq 'ARM64'
|
||||||
|
|
||||||
if ($is_arm64) {
|
if ($is_arm64) {
|
||||||
$url = 'https://github.com/veeso/termscp/releases/download/v1.1.0/termscp-v1.1.0-msvc.zip'
|
$url = 'https://github.com/veeso/termscp/releases/download/v1.1.1/termscp-v1.1.1-msvc.zip'
|
||||||
$checksum = 'f6ad6c62f1578562f9af4bcee93bd4cc429cb52219c3636359b008db8789587e'
|
$checksum = 'f6ad6c62f1578562f9af4bcee93bd4cc429cb52219c3636359b008db8789587e'
|
||||||
} else {
|
} else {
|
||||||
$url = 'https://github.com/veeso/termscp/releases/download/v1.1.0/termscp-v1.1.0-x86_64-pc-windows-msvc.zip'
|
$url = 'https://github.com/veeso/termscp/releases/download/v1.1.1/termscp-v1.1.1-x86_64-pc-windows-msvc.zip'
|
||||||
$checksum = 'd7796081b6f67b82acfa94557aa6852d12a33daab3cca6490660b20e42752005'
|
$checksum = 'd7796081b6f67b82acfa94557aa6852d12a33daab3cca6490660b20e42752005'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@
|
|||||||
#>
|
#>
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param(
|
param(
|
||||||
[string]$Version = "1.1.0",
|
[string]$Version = "1.1.1",
|
||||||
[string]$InstallDir = "$env:LOCALAPPDATA\Programs\termscp",
|
[string]$InstallDir = "$env:LOCALAPPDATA\Programs\termscp",
|
||||||
[Alias("Yes")]
|
[Alias("Yes")]
|
||||||
[switch]$Force
|
[switch]$Force
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@
|
|||||||
# -f, -y, --force, --yes
|
# -f, -y, --force, --yes
|
||||||
# Skip the confirmation prompt during installation
|
# Skip the confirmation prompt during installation
|
||||||
|
|
||||||
TERMSCP_VERSION="1.1.0"
|
TERMSCP_VERSION="1.1.1"
|
||||||
GITHUB_URL="https://github.com/veeso/termscp/releases/download/v${TERMSCP_VERSION}"
|
GITHUB_URL="https://github.com/veeso/termscp/releases/download/v${TERMSCP_VERSION}"
|
||||||
DEB_URL_AMD64="${GITHUB_URL}/termscp_${TERMSCP_VERSION}-1_amd64.deb"
|
DEB_URL_AMD64="${GITHUB_URL}/termscp_${TERMSCP_VERSION}-1_amd64.deb"
|
||||||
DEB_URL_AARCH64="${GITHUB_URL}/termscp_${TERMSCP_VERSION}-1_arm64.deb"
|
DEB_URL_AARCH64="${GITHUB_URL}/termscp_${TERMSCP_VERSION}-1_arm64.deb"
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
export const DOCS_URL = "https://docs.termscp.rs";
|
export const DOCS_URL = "https://docs.termscp.rs";
|
||||||
export const GITHUB_URL = "https://github.com/veeso/termscp";
|
export const GITHUB_URL = "https://github.com/veeso/termscp";
|
||||||
export const VERSION = "1.1.0";
|
export const VERSION = "1.1.1";
|
||||||
|
|||||||
+2
-16
@@ -31,19 +31,11 @@ use self::cli::{Args, ArgsSubcommands, RemoteArgs, RunOpts, Task};
|
|||||||
use self::system::logging::{self, LogLevel};
|
use self::system::logging::{self, LogLevel};
|
||||||
|
|
||||||
const APP_NAME: &str = env!("CARGO_PKG_NAME");
|
const APP_NAME: &str = env!("CARGO_PKG_NAME");
|
||||||
const APP_BUILD_DATE: &str = env!("VERGEN_BUILD_TIMESTAMP");
|
|
||||||
const APP_GIT_BRANCH: &str = env!("VERGEN_GIT_BRANCH");
|
|
||||||
const APP_GIT_HASH: &str = env!("VERGEN_GIT_SHA");
|
|
||||||
const TERMSCP_VERSION: &str = env!("CARGO_PKG_VERSION");
|
const TERMSCP_VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
const TERMSCP_AUTHORS: &str = env!("CARGO_PKG_AUTHORS");
|
const TERMSCP_AUTHORS: &str = env!("CARGO_PKG_AUTHORS");
|
||||||
|
|
||||||
type MainResult<T> = std::result::Result<T, Box<dyn std::error::Error>>;
|
type MainResult<T> = std::result::Result<T, Box<dyn std::error::Error>>;
|
||||||
|
|
||||||
#[inline]
|
|
||||||
fn git_hash() -> &'static str {
|
|
||||||
APP_GIT_HASH[0..8].as_ref()
|
|
||||||
}
|
|
||||||
|
|
||||||
fn main() -> MainResult<()> {
|
fn main() -> MainResult<()> {
|
||||||
let args: Args = argh::from_env();
|
let args: Args = argh::from_env();
|
||||||
// Parse args
|
// Parse args
|
||||||
@@ -58,10 +50,7 @@ fn main() -> MainResult<()> {
|
|||||||
if let Err(err) = logging::init(run_opts.log_level) {
|
if let Err(err) = logging::init(run_opts.log_level) {
|
||||||
eprintln!("Failed to initialize logging: {err}");
|
eprintln!("Failed to initialize logging: {err}");
|
||||||
}
|
}
|
||||||
info!(
|
info!("{APP_NAME} v{TERMSCP_VERSION} - Developed by {TERMSCP_AUTHORS}");
|
||||||
"{APP_NAME} v{TERMSCP_VERSION} ({APP_GIT_BRANCH}, {git_hash}, {APP_BUILD_DATE}) - Developed by {TERMSCP_AUTHORS}",
|
|
||||||
git_hash = git_hash()
|
|
||||||
);
|
|
||||||
// Run
|
// Run
|
||||||
info!("Starting activity manager...");
|
info!("Starting activity manager...");
|
||||||
run(run_opts)
|
run(run_opts)
|
||||||
@@ -142,10 +131,7 @@ fn run(run_opts: RunOpts) -> MainResult<()> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn print_version() -> MainResult<()> {
|
fn print_version() -> MainResult<()> {
|
||||||
println!(
|
println!("{APP_NAME} v{TERMSCP_VERSION} - Developed by {TERMSCP_AUTHORS}");
|
||||||
"{APP_NAME} v{TERMSCP_VERSION} ({APP_GIT_BRANCH}, {git_hash}, {APP_BUILD_DATE}) - Developed by {TERMSCP_AUTHORS}",
|
|
||||||
git_hash = git_hash()
|
|
||||||
);
|
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user