From 27f30e0f9d258f24a41f146ecafacc26d72a534c Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Tue, 22 Mar 2022 17:56:46 +0100 Subject: [PATCH] Renamed package --- Cargo.lock | 2 +- Cargo.toml | 13 +++++-------- src/bin/id3-image-embed.rs | 2 +- src/bin/id3-image-extract.rs | 2 +- src/bin/id3-image-remove.rs | 2 +- tests/test_processing.rs | 2 +- 6 files changed, 10 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index da4f96d..5c2d3c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -282,7 +282,7 @@ dependencies = [ ] [[package]] -name = "id3-image" +name = "id3-image-rs" version = "0.4.0" dependencies = [ "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 423dd1a..9a22934 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,19 +1,16 @@ [package] -name = "id3-image" +name = "id3-image-rs" version = "0.4.0" -authors = ["Andrew Radev "] +authors = ["Andrew Radev ", "Pierre Hubert "] edition = "2018" -description = "A tool to embed images into mp3 files" +description = "A tool to embed images into mp3 files (forked, updated and extended api)" license = "MIT" readme = "README.md" -repository = "https://github.com/AndrewRadev/id3-image" -documentation = "https://docs.rs/id3-image/latest/id3_image" +repository = "https://gitea.communiquons.org/pierre/id3-image-rs" +documentation = "https://docs.rs/id3-image-rs/latest/id3_image_rs" keywords = [ "id3", "mp3", "images" ] categories = [ "command-line-utilities", "filesystem", "multimedia" ] -[badges] -travis-ci = { repository = "AndrewRadev/id3-image" } - [dependencies] anyhow = "1.0.56" id3 = "1.0.2" diff --git a/src/bin/id3-image-embed.rs b/src/bin/id3-image-embed.rs index 40f828f..a91c5f4 100644 --- a/src/bin/id3-image-embed.rs +++ b/src/bin/id3-image-embed.rs @@ -1,7 +1,7 @@ use std::path::PathBuf; use std::process; -use id3_image::embed_image; +use id3_image_rs::embed_image; use structopt::StructOpt; #[derive(StructOpt, Debug)] diff --git a/src/bin/id3-image-extract.rs b/src/bin/id3-image-extract.rs index 7f7f1c8..fe2e30f 100644 --- a/src/bin/id3-image-extract.rs +++ b/src/bin/id3-image-extract.rs @@ -1,7 +1,7 @@ use std::path::PathBuf; use std::process; -use id3_image::extract_first_image; +use id3_image_rs::extract_first_image; use structopt::StructOpt; #[derive(StructOpt, Debug)] diff --git a/src/bin/id3-image-remove.rs b/src/bin/id3-image-remove.rs index 021cbac..f1133f7 100644 --- a/src/bin/id3-image-remove.rs +++ b/src/bin/id3-image-remove.rs @@ -2,7 +2,7 @@ use std::io::{self, Write}; use std::path::PathBuf; use std::process; -use id3_image::remove_images; +use id3_image_rs::remove_images; use structopt::StructOpt; #[derive(StructOpt, Debug)] diff --git a/tests/test_processing.rs b/tests/test_processing.rs index 65b9a59..0944d27 100644 --- a/tests/test_processing.rs +++ b/tests/test_processing.rs @@ -5,7 +5,7 @@ use std::path::{Path, PathBuf}; use tempfile::TempDir; -use id3_image::*; +use id3_image_rs::*; struct Fixture { path: PathBuf,