From f545c17f8ff5c21949a180814451c37f9dc475d5 Mon Sep 17 00:00:00 2001 From: Erwan Vivien Date: Mon, 9 Oct 2023 21:01:52 +0200 Subject: [PATCH] fix: specify path for [[example]] They seem to be needed to publish the crate --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5dc9103..7591c0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,16 +60,20 @@ rustdoc-args = ["--cfg", "docsrs"] [[example]] name = "custom" +path = "examples/custom.rs" required-features = ["image"] [[example]] name = "embed" +path = "examples/embed.rs" required-features = ["image"] [[example]] name = "image" +path = "examples/image.rs" required-features = ["image"] [[example]] name = "svg" +path = "examples/svg.rs" required-features = ["svg"]