Cargo Features
[dependencies]
sylvan-sys = { version = "1.1.0", default-features = false, features = ["build_sylvan"] }
- default = build_sylvan
-
The
build_sylvan
feature is set by default wheneversylvan-sys
is added without
somewhere in the dependency tree.default-features = false - build_sylvan default
-
When disabled, the build script will not attempt to build Sylvan and will just silently continue. This is necessary for building documentation on docs.rs without access to the internet. For other commands (aside from
cargo doc
), this will fail to produce a binary during linking.