Skip to content

Commit

Permalink
Update version v0.1.0 -> v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mochi-neko committed Feb 20, 2024
1 parent 2f3510b commit 5239b17
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "subtp"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
authors = ["Mochineko <[email protected]>"]
rust-version = "1.75"
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ or add the following line to your Cargo.toml:

```toml
[dependencies]
subtp = "0.1.0"
subtp = "0.2.0"
```

## Features
Expand Down Expand Up @@ -63,6 +63,7 @@ let subrip = SubRip {
..Default::default()
},
text: vec!["This is the first subtitle.".to_string()],
..Default::default()
},
SrtSubtitle {
sequence: 2,
Expand All @@ -78,6 +79,7 @@ let subrip = SubRip {
"This is the second subtitle.".to_string(),
"Subtitle text can span multiple lines.".to_string(),
],
..Default::default()
},
],
};
Expand Down

0 comments on commit 5239b17

Please sign in to comment.