Document feature flags in Cargo.toml (#709)

Just doesn't have any features that are likely to be useful to end users,
but it's good to document them nonetheless.
This commit is contained in:
Casey Rodarmor 2020-10-18 23:04:00 -07:00 committed by GitHub
parent 0e1af65565
commit d7799ebec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,11 +10,6 @@ readme = "crates-io-readme.md"
edition = "2018" edition = "2018"
autotests = false autotests = false
[features]
default = []
help4help2man = []
summary = []
[dependencies] [dependencies]
ansi_term = "0.12.0" ansi_term = "0.12.0"
atty = "0.2.0" atty = "0.2.0"
@ -46,6 +41,17 @@ which = "4.0.0"
[dev-dependencies.test-utilities] [dev-dependencies.test-utilities]
path = "test-utilities" path = "test-utilities"
[features]
# No features are active by default.
default = []
# The `help4help2man` feature modifies the message produced by `--help`
# so that `help2man` produces a reasonable man page.
help4help2man = []
# The `summary` feature includes the `summary` module, which is used
# by Janus, https://github.com/casey/janus, a tool that analyses all
# public justfiles on GitHub to avoid breaking changes.
summary = []
# The public documentation is minimal and doesn't change between # The public documentation is minimal and doesn't change between
# platforms, so we only build them for linux on docs.rs to save # platforms, so we only build them for linux on docs.rs to save
# their build machines some cycles. # their build machines some cycles.