Cargo Features
[dependencies]
url-cleaner-site = { version = "0.9.0", default-features = false, features = ["default-config", "regex", "glob", "http", "cache", "base64", "custom", "commands", "debug"] }
- default = base64, cache, commands, default-config, glob, http, regex
-
These default features are set whenever
url-cleaner-site
is added without
somewhere in the dependency tree.default-features = false - default-config default
-
Include default-config.json in the binary.
Enables default-config of url-cleaner
- regex default
-
Enables
url_cleaner::glue::RegexWrapper
.Enables regex of url-cleaner
- glob default
-
Enables
url_cleaner::glue::GlobWrapper
.Enables glob of url-cleaner
- http default
-
Enables HTTP stuff.
Enables http of url-cleaner
- cache default
-
Enables caching various operations.
Enables cache of url-cleaner
- base64 default
-
Enables converting to and from base64.
Enables base64 of url-cleaner
- custom
-
Adds
Custom
variants to the main tools which allow using function pointers. These cannot be serialized or deserialized and are more powerful than thecommands
feature, so it's also disabled by default.Enables custom of url-cleaner
- commands default
-
Enables
url_cleaner::glue::CommandWrapper
.Enables commands of url-cleaner
- debug
-
Print debug info at various points.
Wrapping specific items in their own Debug variants gives much more detail, but this can show you where to wrap stuff.
The exact effects of this feature are currently unspecified, not covered in any stability guarantees, and should not be parsed unless you're willing to rewrite the parser at stupid times for stupider reasons.Enables debug of url-cleaner