Skip to content

Commit

Permalink
Fixed public/private issue for Cbor object.
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah-Kennedy committed Sep 28, 2020
1 parent 946577f commit 8614d61
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Unreleased
## 0.1.0
* Initial implementation mirroring the JSON extractor in Actix-Web

# Released
## 0.1.1 - 2020-09-28
* Several fields were accidentally left private that should have been public in the initial release.

## 0.1.0 - 2020-09-28
* Initial implementation mirroring the JSON extractor in Actix-Web
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "actix-cbor"
version = "0.1.0"
version = "0.1.1"
authors = ["noah <[email protected]>"]
edition = "2018"
description = "CBOR support for Actix-Web"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ mod body;
#[cfg(test)]
mod tests;

pub struct Cbor<T>(T);
pub struct Cbor<T>(pub T);

impl<T> Cbor<T> {
/// Deconstruct to an inner value
Expand Down

0 comments on commit 8614d61

Please sign in to comment.