Skip to content

Commit

Permalink
Expose Header::try_from_str publicly
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenperera committed Sep 22, 2024
1 parent b35859c commit fd92fe4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

## [0.3.3] - 2024-07-22

- Expose `Header::try_from_str` publicly

## [0.3.2] - 2024-07-22

- Publish to crates.io, and update link to docs
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bbqr"
version = "0.3.2"
version = "0.3.3"
edition = "2021"
license = "MIT"
rust-version = "1.68"
Expand Down
2 changes: 1 addition & 1 deletion src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl Header {
}

/// Try to parse a header from a string
pub(crate) fn try_from_str(header_str: &str) -> Result<Self, HeaderParseError> {
pub fn try_from_str(header_str: &str) -> Result<Self, HeaderParseError> {
if header_str.is_empty() {
return Err(HeaderParseError::Empty);
}
Expand Down

0 comments on commit fd92fe4

Please sign in to comment.