Cargo Features
[dependencies]
instagram-hashtag-parser = { version = "0.1.0", default-features = false, features = ["with-crate-hashtag", "with-regex"] }
- default = with-crate-hashtag
-
The
with-crate-hashtag
feature is set by default wheneverinstagram-hashtag-parser
is added without
somewhere in the dependency tree.default-features = false - with-crate-hashtag default = hashtag
-
Affects
instagram-hashtag-parser::hashtags_with_crate_hashtag
… - with-regex = once_cell, regex
-
Affects
instagram-hashtag-parser::hashtags_with_regex
…
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.