Cargo Features

docima has no features set by default.

[dependencies]
docima = { version = "0.9.1", features = ["not_default_overwrite", "build_when_doc", "doc"] }
not_default_overwrite

This will change the default of ImageFile overwrite to false. Note that this will never replace the manually specified setting via method.

build_when_doc

This will only build the images when the following doc feature is also used.

doc

This is intended to be used alongside the previous build_when_doc feature. In your crate you'll have to create a feature doc = ["docima/doc"], and then use it when building the docs. E.g.: "cargo doc --features=doc".