Cargo Features

[dependencies]
freetsa = { version = "0.1.3", default-features = false, features = ["bin", "file", "native-tls", "rustls-tls"] }
default = native-tls

The native-tls feature is set by default whenever freetsa is added without default-features = false somewhere in the dependency tree.

bin = clap, file, tokio

Enables macros and rt-multi-thread of tokio

Required by the binary

file bin? = sha2, tokio

Enables fs of tokio

Affects freetsa::TimestampFileError, freetsa::timestamp_file

native-tls default

Enables native-tls of reqwest ^0.11.12

reqwest:

Enables native-tls specific functionality not available by default.

rustls-tls

Enables rustls-tls of reqwest ^0.11.12

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.

clap bin?
sha2 file?
tokio bin? file?