-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (79 loc) · 2.58 KB
/
Copy pathCargo.toml
File metadata and controls
93 lines (79 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[package]
name = "phantomftp"
version = "2.0.0"
edition = "2021"
authors = ["axpdev"]
description = "PhantomFTP - A modern, cyberpunk-inspired asynchronous TUI FTP/FTPS client"
license = "MIT"
repository = "https://github.com/axpnet/PhantomFTP"
homepage = "https://github.com/axpnet/PhantomFTP"
documentation = "https://github.com/axpnet/PhantomFTP#readme"
readme = "README.md"
keywords = ["ftp", "ftps", "tui", "terminal", "async", "client", "cyberpunk"]
categories = ["command-line-utilities", "network-programming"]
rust-version = "1.75"
[lib]
path = "src/lib.rs"
[[bin]]
name = "phantomftp"
path = "src/main.rs"
[[example]]
name = "test_ftp"
path = "examples/test_ftp.rs"
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# TUI components
ratatui = "0.29"
crossterm = "0.28"
# FTP client with async TLS support (pinned: 8.0.2 breaks Windows)
suppaftp = { version = "=8.0.1", features = ["tokio-async-native-tls"] }
# native-tls re-exported via suppaftp::async_native_tls
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# CLI parsing
clap = { version = "4", features = ["derive"] }
# Serialization (for config)
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Logging
tracing = "0.1"
tracing-subscriber = "0.3"
[dev-dependencies]
tempfile = "3"
pretty_assertions = "1"
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
strip = true
panic = "abort"
[profile.dev]
opt-level = 0
debug = true
[package.metadata.deb]
maintainer = "axpdev <aleimob@gmail.com>"
copyright = "2025-2026, axpdev"
license-file = ["LICENSE", "0"]
extended-description = """
PhantomFTP - A cyberpunk-inspired Terminal User Interface (TUI) FTP client
built in Rust. Features include:
- FTP and FTPS (TLS) support
- Dual-panel file browser (remote/local)
- Asynchronous file transfers with progress tracking
- Transfer retry with cancellation support
- CyberPunk terminal aesthetics
"""
section = "net"
priority = "optional"
assets = [
["target/release/phantomftp", "usr/bin/", "755"],
["README.md", "usr/share/doc/phantomftp/", "644"],
["LICENSE", "usr/share/doc/phantomftp/", "644"],
["icons/phantomftp-256x256.png", "usr/share/icons/hicolor/256x256/apps/phantomftp.png", "644"],
["icons/phantomftp-128x128.png", "usr/share/icons/hicolor/128x128/apps/phantomftp.png", "644"],
["icons/phantomftp-64x64.png", "usr/share/icons/hicolor/64x64/apps/phantomftp.png", "644"],
["icons/phantomftp-48x48.png", "usr/share/icons/hicolor/48x48/apps/phantomftp.png", "644"],
["icons/PhantomFTP_logo_color.svg", "usr/share/icons/hicolor/scalable/apps/phantomftp.svg", "644"],
]