Cargo Features

flexible-io has no features set by default.

[dependencies]
flexible-io = { version = "0.4.0", features = ["unstable_set_ptr_value", "unstable_with_metadata_of"] }
unstable_set_ptr_value unstable_with_metadata_of?

Enable this features to utilize pointer::with_metadata_of. Otherwise, the crate provides some replacement code that contains more unsafe code (still works under MIRI) that rewrites pointers.

unstable_with_metadata_of = unstable_set_ptr_value

Alias for the other unstable feature.