Cargo Features

[dependencies]
openslide-rs = { version = "2.0.2", default-features = false, features = ["deepzoom", "image", "openslide4"] }
default = deepzoom

The deepzoom feature is set by default whenever openslide-rs is added without default-features = false somewhere in the dependency tree.

deepzoom default = image

Affects openslide-rs::deepzoom, openslide-rs::traits, openslide-rs::DeepZoomGenerator

image deepzoom

Enables fast_image_resize and image

Affects traits::Slide.read_image_rgba, traits::Slide.read_image_rgb

openslide4

Affects bindings::get_icc_profile_size, bindings::read_icc_profile, bindings::get_associated_image_icc_profile_size, bindings::read_associated_image_icc_profile, bindings::cache_create, bindings::set_cache, bindings::cache_release