From 4d1e7be87e799cfcbb2a082aa6f73874b9603255 Mon Sep 17 00:00:00 2001 From: Serial <69764315+Serial-ATA@users.noreply.github.com> Date: Mon, 6 May 2024 13:15:39 -0400 Subject: [PATCH] examples: Add missing entries to Cargo.toml --- examples/tag_reader.rs | 2 ++ examples/tag_stripper.rs | 2 ++ examples/tag_writer.rs | 2 ++ lofty/Cargo.toml | 12 ++++++++++++ 4 files changed, 18 insertions(+) diff --git a/examples/tag_reader.rs b/examples/tag_reader.rs index 8392e351..f3119525 100644 --- a/examples/tag_reader.rs +++ b/examples/tag_reader.rs @@ -1,3 +1,5 @@ +#![allow(missing_docs)] + use lofty::prelude::*; use lofty::probe::Probe; diff --git a/examples/tag_stripper.rs b/examples/tag_stripper.rs index 039b04e9..5381297b 100644 --- a/examples/tag_stripper.rs +++ b/examples/tag_stripper.rs @@ -1,3 +1,5 @@ +#![allow(missing_docs)] + use lofty::file::TaggedFileExt; use lofty::probe::Probe; diff --git a/examples/tag_writer.rs b/examples/tag_writer.rs index 2887ee8c..32bf2cf0 100644 --- a/examples/tag_writer.rs +++ b/examples/tag_writer.rs @@ -1,3 +1,5 @@ +#![allow(missing_docs)] + use lofty::config::WriteOptions; use lofty::prelude::*; use lofty::probe::Probe; diff --git a/lofty/Cargo.toml b/lofty/Cargo.toml index c37cb7eb..d7c4a80b 100644 --- a/lofty/Cargo.toml +++ b/lofty/Cargo.toml @@ -58,6 +58,18 @@ harness = false name = "custom_resolver" path = "../examples/custom_resolver/src/main.rs" +[[example]] +name = "tag_reader" +path = "../examples/tag_reader.rs" + +[[example]] +name = "tag_writer" +path = "../examples/tag_writer.rs" + +[[example]] +name = "tag_stripper" +path = "../examples/tag_stripper.rs" + [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]