From 5239b1746efe7d1e7cd3873563a1345a055330a1 Mon Sep 17 00:00:00 2001 From: mochi-neko Date: Tue, 20 Feb 2024 16:46:43 +0900 Subject: [PATCH] Update version v0.1.0 -> v0.2.0 --- CHANGELOG.md | 13 +++++++++++++ Cargo.toml | 2 +- README.md | 4 +++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed34f1c..76e397d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] - 2024-02-20 + +### Added +- Add timestamps conversion to `std::time::Duration` in `subtp::srt::SrtTimestamp` and `subtp::vtt::VttTimestamp`. +- Add support for unofficial line position option in SubRip Subtitle format. + +### Changed +- Ignore a line that has only whitespaces in `multiline` rule. +- Remove unused codes for testing. + +### Fixed +- Fix errors of document tests. + ## [0.1.0] - 2024-02-11 ### Added diff --git a/Cargo.toml b/Cargo.toml index 55891bc..6961e87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subtp" -version = "0.1.0" +version = "0.2.0" edition = "2021" authors = ["Mochineko "] rust-version = "1.75" diff --git a/README.md b/README.md index 4c9d293..2fbd315 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ or add the following line to your Cargo.toml: ```toml [dependencies] -subtp = "0.1.0" +subtp = "0.2.0" ``` ## Features @@ -63,6 +63,7 @@ let subrip = SubRip { ..Default::default() }, text: vec!["This is the first subtitle.".to_string()], + ..Default::default() }, SrtSubtitle { sequence: 2, @@ -78,6 +79,7 @@ let subrip = SubRip { "This is the second subtitle.".to_string(), "Subtitle text can span multiple lines.".to_string(), ], + ..Default::default() }, ], };