ffsend/Cargo.toml

136 lines
3.8 KiB
TOML
Raw Permalink Normal View History

[package]
name = "ffsend"
2022-06-20 08:09:01 +00:00
version = "0.2.76"
2023-08-20 15:48:39 +00:00
rust-version = "1.63.0"
authors = ["Tim Visee <3a4fb3964f@sinenomine.email>"]
2018-05-21 20:21:08 +00:00
license = "GPL-3.0"
readme = "README.md"
homepage = "https://timvisee.com/projects/ffsend"
2018-06-04 23:06:12 +00:00
repository = "https://gitlab.com/timvisee/ffsend"
description = """\
Easily and securely share files from the command line.\n\
2021-05-05 20:33:41 +00:00
A fully featured Send client.\
"""
2018-05-21 20:21:08 +00:00
keywords = ["send", "firefox", "cli"]
categories = [
"authentication",
"command-line-interface",
"command-line-utilities",
"cryptography",
"network-programming",
]
exclude = [
2019-08-04 20:49:07 +00:00
"/.github",
"/contrib",
"/pkg",
"/res",
"/*.yml",
"/CONTRIBUTING.md",
"/SECURITY.md",
2018-05-21 20:21:08 +00:00
]
2019-01-12 22:34:38 +00:00
edition = "2018"
build = "build.rs"
2018-05-21 20:21:08 +00:00
[package.metadata.deb]
section = "utility"
extended-description = """\
Easily and securely share files and directories from the command line through
a safe, private and encrypted link using a single simple command. \
Files are shared using the Send service and may be up to 2GB. \
Others are able to download these files with this tool, \
2019-01-03 12:16:24 +00:00
or through their web browser.\n\
\n\
All files are always encrypted on the client, \
and secrets are never shared with the remote host. \
An optional password may be specified, and a default file lifetime of 1 \
(up to 20) download or 24 hours is enforced to ensure your stuff does not \
remain online forever. This provides a secure platform to share your files."""
priority = "standard"
license-file = ["LICENSE", "3"]
depends = "$auto, libssl1.1, ca-certificates, xclip"
maintainer-scripts = "pkg/deb"
[[bin]]
name = "ffsend"
path = "src/main.rs"
[features]
2023-04-07 06:14:07 +00:00
default = ["archive", "clipboard", "crypto-ring", "history", "infer-command", "qrcode", "send3", "urlshorten"]
# Compile with file archiving support
archive = ["tar"]
# Support for putting share URLs in clipboard
clipboard = ["clip", "which"]
# Compile with file history support
history = []
2021-05-05 20:33:41 +00:00
# Support for Send v2
send2 = ["ffsend-api/send2"]
2021-05-05 20:33:41 +00:00
# Support for Send v3
send3 = ["ffsend-api/send3"]
# Use OpenSSL as cryptography backend
crypto-openssl = ["ffsend-api/crypto-openssl"]
# Use ring as cryptography backend
crypto-ring = ["ffsend-api/crypto-ring"]
# Support for generating QR codes for share URLs
qrcode = ["qr2term"]
# Support for shortening share URLs
urlshorten = ["urlshortener"]
# Support for inferring subcommand when linking binary
infer-command = []
# Compile without colored output support
no-color = ["colored/no-color"]
# Automatic using build.rs: use xclip/xsel binary method for clipboard support
clipboard-bin = ["clipboard"]
# Automatic using build.rs: use native clipboard crate for clipboard support
clipboard-crate = ["clipboard"]
[dependencies]
2021-01-04 10:44:01 +00:00
chbs = "0.1.0"
chrono = "0.4"
2019-04-09 16:12:15 +00:00
clap = "2.33"
2020-09-21 10:23:45 +00:00
colored = "2.0"
2021-04-09 12:33:28 +00:00
derive_builder = "0.10"
2021-10-06 11:51:38 +00:00
directories = "4.0"
failure = "0.1"
2021-08-30 12:18:58 +00:00
ffsend-api = { version = "0.7.3", default-features = false }
fs2 = "0.4"
2019-11-29 15:13:23 +00:00
lazy_static = "1.4"
2021-08-26 18:37:43 +00:00
open = "2"
2018-06-23 15:02:02 +00:00
openssl-probe = "0.1"
2020-05-11 19:03:00 +00:00
pathdiff = "0.2"
pbr = "1"
2023-04-07 06:14:07 +00:00
prettytable-rs = { version = "0.10.0", default-features = false }
2020-04-19 12:42:25 +00:00
qr2term = { version = "0.2", optional = true }
2021-01-04 10:44:01 +00:00
rand = "0.8"
regex = "1.5"
2020-09-21 10:23:45 +00:00
rpassword = "5"
serde = "1"
serde_derive = "1"
tar = { version = "0.4", optional = true }
tempfile = "3"
2019-03-16 14:43:23 +00:00
toml = "0.5"
2020-03-07 03:16:29 +00:00
urlshortener = { version = "3", optional = true }
2021-10-14 20:52:02 +00:00
version-compare = "0.1"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
2020-05-30 14:17:38 +00:00
which = { version = "4.0", optional = true }
[target.'cfg(not(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd", target_os = "netbsd")))'.dependencies]
# Aliased to clip to prevent name collision with clipboard feature
clip = { version = "0.5", optional = true, package = "clipboard" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]