mirror of
https://github.com/veeso/termscp.git
synced 2025-12-06 17:15:35 -08:00
I noticed the crate is pretty big and took a quick look, here is the outcome of slimming it down. ``` ➜ termscp git:(main) cargo diet ┌───────────────────────────────────────────┬─────────────┐ │ File │ Size (Byte) │ ├───────────────────────────────────────────┼─────────────┤ │ codecov.yml │ 96 │ │ .github/ISSUE_TEMPLATE/feature_request.md │ 203 │ │ dist/deb.sh │ 210 │ │ .github/workflows/macos.yml │ 319 │ │ .github/workflows/windows.yml │ 321 │ │ dist/rpm.sh │ 336 │ │ dist/build/README.md │ 345 │ │ .gitignore │ 356 │ │ dist/build/x86_64/Dockerfile │ 509 │ │ dist/pkgs/arch/.SRCINFO │ 511 │ │ .github/workflows/aur-pub.yml │ 570 │ │ dist/pkgs/arch/PKGBUILD │ 580 │ │ .github/ISSUE_TEMPLATE/bug_report.md │ 598 │ │ dist/build/x86_64_archlinux/Dockerfile │ 905 │ │ .github/workflows/linux.yml │ 1013 │ │ .github/PULL_REQUEST_TEMPLATE.md │ 1093 │ │ dist/build/deploy.sh │ 1291 │ │ docs/drawio/UI.drawio │ 1993 │ │ CODE_OF_CONDUCT.md │ 3368 │ │ CONTRIBUTING.md │ 10756 │ │ assets/images/bookmarks.gif │ 298453 │ │ assets/images/auth.gif │ 321769 │ │ assets/images/explorer.gif │ 650583 │ │ assets/images/config.gif │ 705780 │ │ assets/images/text-editor.gif │ 1898000 │ └───────────────────────────────────────────┴─────────────┘ Saved 85% or 3.9 MB in 25 files (of 4.6 MB and 75 files in entire crate) ``` Please let me know if you would like some other files to be included or whatever else is needed to make this PR mergeable. Thanks :).
58 lines
1.6 KiB
TOML
58 lines
1.6 KiB
TOML
[package]
|
|
name = "termscp"
|
|
version = "0.3.0"
|
|
authors = ["Christian Visintin"]
|
|
edition = "2018"
|
|
license = "GPL-3.0"
|
|
keywords = ["scp-client", "sftp-client", "ftp-client", "winscp", "command-line-utility"]
|
|
categories = ["command-line-utilities"]
|
|
description = "TermSCP is a SCP/SFTP/FTPS client for command line with an integrated UI to explore the remote file system. Basically WinSCP on a terminal."
|
|
homepage = "https://github.com/veeso/termscp"
|
|
repository = "https://github.com/veeso/termscp"
|
|
documentation = "https://docs.rs/termscp"
|
|
readme = "README.md"
|
|
include = ["src/**/*", "LICENSE", "README.md", "CHANGELOG.md"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bitflags = "1.2.1"
|
|
bytesize = "1.0.1"
|
|
chrono = "0.4.19"
|
|
content_inspector = "0.2.4"
|
|
crossterm = "0.18.2"
|
|
dirs = "3.0.1"
|
|
edit = "0.1.2"
|
|
ftp4 = { version = "^4.0.2", features = ["secure"] }
|
|
getopts = "0.2.21"
|
|
hostname = "0.3.1"
|
|
lazy_static = "1.4.0"
|
|
magic-crypt = "3.1.6"
|
|
rand = "0.8.0"
|
|
regex = "1.4.2"
|
|
rpassword = "5.0.0"
|
|
serde = { version = "1.0.118", features = ["derive"] }
|
|
ssh2 = "0.9.0"
|
|
tempfile = "3.1.0"
|
|
textwrap = "0.13.1"
|
|
toml = "0.5.8"
|
|
tui = { version = "0.13.0", features = ["crossterm"], default-features = false }
|
|
unicode-width = "0.1.7"
|
|
whoami = "1.0.1"
|
|
|
|
[target.'cfg(any(target_os = "unix", target_os = "macos", target_os = "linux"))'.dependencies]
|
|
users = "0.11.0"
|
|
|
|
[[bin]]
|
|
name = "termscp"
|
|
path = "src/main.rs"
|
|
|
|
[package.metadata.rpm]
|
|
package = "termscp"
|
|
|
|
[package.metadata.rpm.cargo]
|
|
buildflags = ["--release"]
|
|
|
|
[package.metadata.rpm.targets]
|
|
termscp = { path = "/usr/bin/termscp" }
|