Cargo Features

[dependencies]
version-sync = { version = "0.9.5", default-features = false, features = ["markdown_deps_updated", "html_root_url_updated", "contains_regex"] }
default = contains_regex, html_root_url_updated, markdown_deps_updated

These default features are set whenever version-sync is added without default-features = false somewhere in the dependency tree.

markdown_deps_updated default = pulldown-cmark, semver, toml

Affects helpers::indent, helpers::version_matches_request

html_root_url_updated default = proc-macro2, semver, syn, url

Affects helpers::indent, helpers::version_matches_request

contains_regex default = regex, semver

Affects helpers::version_matches_request

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

proc-macro2 html_root_url_updated
pulldown-cmark markdown_deps_updated

Enables pulldown-cmark ^0.9.1

regex contains_regex
semver contains_regex html_root_url_updated markdown_deps_updated
syn html_root_url_updated
toml markdown_deps_updated

Enables toml ^0.7.8

url html_root_url_updated