Cargo Features

ImagStore has no features set by default.

[dependencies]
imag-store = { version = "0.10.1", features = ["early-panic"] }
early-panic

Enables early-panic of libimagstore

libimagstore:

Enable panic!()s if critical errors occur.

Howto

To enable this, put

[features]
early-panic = [ "libimagstore/early-panic" ]

In the crate depending on this library and compile your crate with cargo build --features early-panic. This way, the libimagstore implementation fails via panic!() instead of propagating errors which have to be printed somewhere to be visible.

WARNING

The behaviour of the store implementation might be broken with this, resulting in partially written store entries and/or worse, so this is

NOT INTENDED FOR PRODUCTION USE!

ImagStore has 1 feature without comment.