Cargo Features
[dependencies]
railroad = { version = "0.3.2", default-features = false, features = ["visual-debug", "resvg"] }
- default = resvg
-
The
resvg
feature is set by default wheneverrailroad
is added without
somewhere in the dependency tree.default-features = false - visual-debug
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.
- resvg default
-
Enables resvg ^0.42
Affects
railroad::render
…