aboutsummaryrefslogtreecommitdiff
path: root/mingling/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/Cargo.toml')
-rw-r--r--mingling/Cargo.toml29
1 files changed, 22 insertions, 7 deletions
diff --git a/mingling/Cargo.toml b/mingling/Cargo.toml
index 351384f..1148f2a 100644
--- a/mingling/Cargo.toml
+++ b/mingling/Cargo.toml
@@ -21,7 +21,7 @@ mingling = { path = ".", features = [
] }
[package.metadata.docs.rs]
-rustdoc-args = ["--generate-link-to-definition"]
+rustdoc-args = ["--generate-link-to-definition", "--html-in-header", "arborium-header.html"]
features = [
"docs_rs",
"core",
@@ -33,20 +33,32 @@ features = [
"parser",
"picker",
"clap",
- "extra_macros",
+ "extras",
]
[features]
+
+# Presets
+mini = ["extras", "picker"]
+advanced = ["extras", "picker", "repl", "comp", "dispatch_tree", "structural_renderer"]
+full = ["extras", "picker", "repl", "clap", "comp", "dispatch_tree", "structural_renderer_full", "pathf"]
+build_advanced = ["build", "comp"]
+build_full = ["build", "comp", "pathf", "dispatch_tree"]
+
+# Core
core = ["dep:mingling_core", "mingling_core/default"]
macros = ["dep:mingling_macros", "mingling_macros/default"]
+# Special features
nightly = ["mingling_core/nightly", "mingling_macros/nightly"]
debug = ["mingling_core/debug"]
async = ["mingling_core/async", "mingling_macros/async"]
-builds = ["mingling_core/builds"]
-
default = ["core", "macros"]
+build = ["mingling_core/build"]
+# - Section only shown in docs.rs
+docs_rs = []
+# Features
clap = ["mingling_core/clap", "mingling_macros/clap"]
dispatch_tree = ["mingling_core/dispatch_tree", "mingling_macros/dispatch_tree"]
repl = ["mingling_core/repl", "mingling_macros/repl"]
@@ -87,10 +99,13 @@ yaml_serde_fmt = ["mingling_core/yaml_serde_fmt"]
toml_serde_fmt = ["mingling_core/toml_serde_fmt"]
ron_serde_fmt = ["mingling_core/ron_serde_fmt"]
-extra_macros = ["mingling_macros/extra_macros"]
+extras = ["mingling_macros/extras"]
-# Section only shown in docs.rs
-docs_rs = []
+# - LEGACY -
+# These are old names, will be Breaking Change in the future
+
+builds = ["mingling_core/build"]
+extra_macros = ["mingling_macros/extras"]
[dependencies]
mingling_core = { workspace = true, optional = true }