Cargo Features
[dependencies]
lukaj = { version = "0.2.0", default-features = false, features = ["use-rsvg", "use-usvg", "static-link"] }
- default = use-usvg
-
The
use-usvg
feature is set by default wheneverlukaj
is added without
somewhere in the dependency tree.default-features = false - use-rsvg = cairo-rs, librsvg
- use-usvg default = resvg, tiny-skia, usvg
- static-link
-
use static linking as much as possible
Enables static-link and use-vcpkg of sdl2 ^0.36.0
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.
- cairo-rs use-rsvg?
-
Enables cairo-rs ^0.18.2
- librsvg use-rsvg?
- resvg use-usvg
-
Enables resvg ^0.36.0
- tiny-skia use-usvg
- usvg use-usvg
-
Enables usvg ^0.36.0