Version 1.0.0

This commit is contained in:
Bauke 2021-03-22 12:50:59 +01:00
parent 312627e298
commit 712bd5570f
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
5 changed files with 7 additions and 6 deletions

4
Cargo.lock generated
View File

@ -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",

View File

@ -4,7 +4,7 @@
name = "opml"
description = "An OPML parser for Rust."
authors = ["Holllo <helllo@holllo.cc>"]
version = "0.3.0"
version = "1.0.0"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Holllo/opml"
readme = "../README.md"

View File

@ -66,7 +66,7 @@ use thiserror::Error;
#[derive(Debug, Error)]
pub enum Error {
#[error("OPML body has no <outlines> elements")]
#[error("OPML body has no <outline> elements")]
BodyHasNoOutlines,
#[error("Unsupported OPML version: {0:?}")]
UnsupportedVersion(String),

View File

@ -26,6 +26,7 @@ fn test_opml_construction_1() -> Result<(), Box<dyn Error>> {
}
#[test]
#[allow(clippy::field_reassign_with_default)]
fn test_opml_construction_2() -> Result<(), Box<dyn Error>> {
let mut opml = OPML::default();
opml.head = Some(Head {

View File

@ -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 <helllo@holllo.cc>"]
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]