[package]
edition = "2024"
name = "filament-cli"
version = "0.6.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "P2P file transfer between terminals and browsers, no upload, no account. The terminal end of filament.autumated.com."
homepage = "https://filament.autumated.com"
readme = "README.md"
keywords = [
"p2p",
"file-transfer",
"webrtc",
"cli",
"airdrop",
]
categories = [
"command-line-utilities",
"network-programming",
]
license = "MIT"
repository = "https://github.com/Abdk4Moura/filament"
[features]
mount-windows = [
"dep:winfsp",
"dep:winfsp-sys",
]
static = ["dep:openssl-sys"]
test-hooks = []
[[bin]]
name = "filament"
path = "src/main.rs"
[[test]]
name = "capability_harness"
path = "tests/capability_harness.rs"
[[test]]
name = "caps_display_tests"
path = "tests/caps_display_tests.rs"
[[test]]
name = "devices_status_tests"
path = "tests/devices_status_tests.rs"
[[test]]
name = "man_install_tests"
path = "tests/man_install_tests.rs"
[[test]]
name = "man_tests"
path = "tests/man_tests.rs"
[[test]]
name = "proxy_http_pac_tests"
path = "tests/proxy_http_pac_tests.rs"
[[test]]
name = "timeout_tests"
path = "tests/timeout_tests.rs"
[[test]]
name = "warm_one_shot_tests"
path = "tests/warm_one_shot_tests.rs"
[[test]]
name = "warm_pty_tests"
path = "tests/warm_pty_tests.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.11.1"
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
version = "4.6.1"
features = [
"derive",
"env",
]
[dependencies.clap_complete]
version = "4.6.5"
[dependencies.clap_mangen]
version = "0.3.0"
[dependencies.crossterm]
version = "0.29"
[dependencies.directories]
version = "6"
[dependencies.flate2]
version = "1.1.9"
[dependencies.futures-util]
version = "0.3.32"
[dependencies.getrandom]
version = "0.2"
[dependencies.hex]
version = "0.4"
[dependencies.hkdf]
version = "0.12"
[dependencies.hmac]
version = "0.12"
[dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]
optional = true
[dependencies.portable-pty]
version = "0.8"
[dependencies.qrcode]
version = "0.14.1"
default-features = false
[dependencies.quinn]
version = "0.11.9"
features = [
"runtime-tokio",
"rustls-ring",
"log",
]
default-features = false
[dependencies.quinn-proto]
version = "0.11"
[dependencies.rand_core]
version = "0.6"
[dependencies.rcgen]
version = "=0.13.2"
features = [
"ring",
"pem",
]
default-features = false
[dependencies.reqwest]
version = "0.13.4"
features = ["json"]
[dependencies.ring]
version = "0.17"
[dependencies.rust_socketio]
version = "0.6.0"
features = ["async"]
[dependencies.rustls]
version = "0.23.40"
features = ["ring"]
[dependencies.serde]
version = "1.0.228"
[dependencies.serde_json]
version = "1.0.150"
[dependencies.sha2]
version = "0.11.0"
[dependencies.sha2_pake]
version = "0.10"
package = "sha2"
[dependencies.smoltcp]
version = "0.12"
features = [
"std",
"medium-ip",
"proto-ipv4",
"proto-ipv6",
"socket-tcp",
]
default-features = false
[dependencies.socket2]
version = "0.5"
features = ["all"]
[dependencies.spake2]
version = "=0.4.0"
[dependencies.tar]
version = "0.4.46"
[dependencies.tokio]
version = "1.52.3"
features = ["full"]
[dependencies.webrtc]
version = "0.17.1"
[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.fuser]
version = "0.17"
[target.'cfg(target_os = "windows")'.dependencies.winfsp]
version = "=0.12.0"
features = [
"full",
"windows-61",
]
optional = true
[target.'cfg(target_os = "windows")'.dependencies.winfsp-sys]
version = "=0.3.0"
optional = true
[target.'cfg(target_os = "windows")'.dependencies.wintun]
version = "0.5"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[profile.release]
lto = "thin"
codegen-units = 16
strip = true