[package] summary = "Abstraction allowing borrowed data to be carried along with its backing data" [features] # Some features are needed for tests. enable = [ "derive", ] [requires] build = [ "tomcli", ] [scripts.prep] post = [ "# Do not depend on postcard; it is needed only for one (patched-out) example.", "tomcli set Cargo.toml del dev-dependencies.postcard", ] [[package.extra-patches]] number = 10 file = "0001-Downstream-only-ignore-an-example-that-would-depend-.patch" comments = [ """\ Downstream-only: ignore an example that would depend on the postcard \ crate: it is not worth packaging this merely to compile an example.\ """ ]