diff --git a/Cargo.lock b/Cargo.lock index 6e0b90a..c858379 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -116,7 +116,7 @@ checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" [[package]] name = "opml" -version = "0.3.0" +version = "1.0.0" dependencies = [ "regex", "serde", @@ -126,7 +126,7 @@ dependencies = [ [[package]] name = "opml_cli" -version = "0.3.0" +version = "1.0.0" dependencies = [ "assert_cmd", "clap", diff --git a/opml_api/Cargo.toml b/opml_api/Cargo.toml index 99bfe0c..a36f696 100644 --- a/opml_api/Cargo.toml +++ b/opml_api/Cargo.toml @@ -4,7 +4,7 @@ name = "opml" description = "An OPML parser for Rust." authors = ["Holllo "] -version = "0.3.0" +version = "1.0.0" license = "MIT OR Apache-2.0" repository = "https://github.com/Holllo/opml" readme = "../README.md" diff --git a/opml_api/source/lib.rs b/opml_api/source/lib.rs index 8b188c6..163411d 100644 --- a/opml_api/source/lib.rs +++ b/opml_api/source/lib.rs @@ -66,7 +66,7 @@ use thiserror::Error; #[derive(Debug, Error)] pub enum Error { - #[error("OPML body has no elements")] + #[error("OPML body has no elements")] BodyHasNoOutlines, #[error("Unsupported OPML version: {0:?}")] UnsupportedVersion(String), diff --git a/opml_api/tests/construction.rs b/opml_api/tests/construction.rs index 07e55c2..b1d2627 100644 --- a/opml_api/tests/construction.rs +++ b/opml_api/tests/construction.rs @@ -26,6 +26,7 @@ fn test_opml_construction_1() -> Result<(), Box> { } #[test] +#[allow(clippy::field_reassign_with_default)] fn test_opml_construction_2() -> Result<(), Box> { let mut opml = OPML::default(); opml.head = Some(Head { diff --git a/opml_cli/Cargo.toml b/opml_cli/Cargo.toml index 16e08c9..c094bf9 100644 --- a/opml_cli/Cargo.toml +++ b/opml_cli/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "opml_cli" description = "An OPML parser for the command-line." -version = "0.3.0" +version = "1.0.0" authors = ["Holllo "] license = "MIT OR Apache-2.0" repository = "https://github.com/Holllo/opml" @@ -17,7 +17,7 @@ path = "source/main.rs" [dependencies] clap = "2.33" -opml = { path = "../opml_api", version = "0.3" } +opml = { path = "../opml_api", version = "1.0" } serde_json = "1.0" [dependencies.serde]