Cargo Features
[dependencies]
ffsend = { version = "0.2.76", default-features = false, features = ["archive", "clipboard", "history", "send2", "send3", "crypto-openssl", "crypto-ring", "qrcode", "urlshorten", "infer-command", "no-color", "clipboard-bin", "clipboard-crate"] }
- default = archive, clipboard, crypto-ring, history, infer-command, qrcode, send3, urlshorten
-
These default features are set whenever
ffsend
is added without
somewhere in the dependency tree.default-features = false - archive default = tar
-
Compile with file archiving support
Affects
download::ExtractError
,upload::ArchiveError
… - clipboard default clipboard-bin? clipboard-crate? = clip, which
-
Support for putting share URLs in clipboard
Affects
util::set_clipboard
,util::ClipboardType
,util::ClipboardError
… - history default
-
Compile with file history support
Affects
action::history
,matcher::history
,subcmd::history
,util::app_project_dirs
,util::app_history_file_path
,util::app_history_file_path_string
… - send2
-
Support for Send v2
Enables send2 of ffsend-api
- send3 default
-
Support for Send v3
Enables send3 of ffsend-api
Affects
config::API_VERSION_ASSUME
… - crypto-openssl
-
Use OpenSSL as cryptography backend
Enables crypto-openssl of ffsend-api
- crypto-ring default
-
Use ring as cryptography backend
Enables crypto-ring of ffsend-api
- qrcode default = qr2term
-
Support for generating QR codes for share URLs
- urlshorten default = urlshortener
-
Support for shortening share URLs
- infer-command default
-
Support for inferring subcommand when linking binary
- no-color
-
Compile without colored output support
- clipboard-bin = clipboard
-
Automatic using build.rs: use xclip/xsel binary method for clipboard support
- clipboard-crate = clipboard
-
Automatic using build.rs: use native clipboard crate for clipboard support
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- qr2term qrcode
-
Enables qr2term ^0.2
- tar archive
- urlshortener urlshorten
- clip not linux freebsd dragonfly openbsd netbsd clipboard
-
Enables clipboard
- which linux freebsd dragonfly openbsd netbsd clipboard
-
Enables which ^4.0