Skip to content

Commit

Permalink
Upgrade to http 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsided committed Dec 1, 2023
1 parent c26ac19 commit ad86080
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Changelog

All notable changes to this project will be documented in this file.
This project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.0] - 2023-12-01

### Added

- Upgraded to `http` 1.0.

[0.2.0]: https://github.com/sunsided/hyperium-headers-content-md5/releases/tag/0.2.0
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "headers-content-md5"
description = "typed Content-MD5 header"
version = "0.1.1"
version = "0.2.0"
readme = "README.md"
license = "MIT"
repository = "https://github.com/sunsided/hyperium-headers-content-md5"
Expand All @@ -11,6 +11,6 @@ categories = ["web-programming"]
edition = "2021"

[dependencies]
base64 = "0.21.2"
headers = "0.3.8"
http = "0.2.0"
base64 = "0.21.5"
headers = "0.4.0"
http = "1.0.0"
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ mod tests {

#[test]
fn encode_works() {
let value = HeaderValue::from_static("Q2hlY2sgSW50ZWdyaXR5IQ==");
let md5 = ContentMd5("Check Integrity!".as_bytes().try_into().unwrap());
let mut header = Vec::default();
md5.encode(&mut header);
Expand Down

0 comments on commit ad86080

Please sign in to comment.