Cargo Features

[dependencies]
derive-adhoc = { version = "0.8.4", default-features = false, features = ["full", "minimal-1", "case", "expect"] }

After editing this file, you will probably need to run maint/update-bizarre
to update the "bizarre" testing versions in tests/pub-export/bizarre-*

default = full

The full feature is set by default whenever derive-adhoc is added without default-features = false somewhere in the dependency tree.

full default = case, expect, minimal-1
minimal-1 full
case full = heck

The minimal-1 feature is mandatory.
This apporach will allow us to move things from "always enabled" to "part of some feature that can be disabled" without a semver break:
Introduce "minimal-2" which excludes the newly-disablable code,
but retain it in "minimal-1".

Enables case of derive-adhoc-macros

expect full

Enables expect of derive-adhoc-macros

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.

heck case?

Enables heck ^0.4

This dependency is here only for the link to heck in the docs.