Cargo Features
[dependencies]
oatbar = { version = "0.1.0", default-features = false, features = ["image", "raster", "bmp", "ico", "jpeg", "png", "webp", "svg", "profile"] }
- default = bmp, ico, image, jpeg, png, raster, svg, webp
-
These default features are set whenever
oatbar
is added without
somewhere in the dependency tree.default-features = false - image default bmp ico jpeg png svg webp
-
Affects
config::ImageOptions
,config::ImageBlock
,drawing::Image
,drawing::ImageKey
,drawing::ImageLoader
,drawing::Context.image_loader
… - raster default bmp ico jpeg png webp
-
Enables image
- bmp default = image, raster
- ico default = image, raster
- jpeg default = image, raster
- png default = image, raster
- webp default = image, raster
- svg default = image
-
Enables resvg ^0.42.0
- profile
-
Enables pprof ^0.13