Skip to content

Commit

Permalink
Merge pull request #178 from thomastaylor312/fix/sealed_signed
Browse files Browse the repository at this point in the history
fix(*): Marks `Signed` trait as `Sealed`
  • Loading branch information
thomastaylor312 authored Jul 8, 2021
2 parents 18e1e23 + d995199 commit 8533526
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
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 = "bindle"
version = "0.4.0"
version = "0.4.1"
authors = [
"Matt Butcher <[email protected]>",
"Taylor Thomas <[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on Linux, MacOS, and Windows (in PowerShell):

1. Download your desired version from [the releases
page](https://github.com/deislabs/bindles/releases)
1. Unpack it (`tar -xzf bindle-v0.4.0-linux-amd64.tar.gz`)
1. Unpack it (`tar -xzf bindle-v0.4.1-linux-amd64.tar.gz`)
1. Move the bindle and bindle CLIs to their desired
destinations somewhere in your `$PATH` (e.g. `mv bindle bindle-server /usr/local/bin/` on Unix-like
systems or `mv *.exe C:\Windows\system32\` on Windows)
Expand All @@ -38,7 +38,7 @@ find Bindle, check to make sure that your `$PATH` environment variable is set co
#### Validating

If you'd like to validate the download, checksums can be downloaded from
https://bindle.blob.core.windows.net/releases/checksums-v0.4.0.txt
https://bindle.blob.core.windows.net/releases/checksums-v0.4.1.txt

### From Canary Builds

Expand Down
2 changes: 1 addition & 1 deletion docs/crate-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Bindle is an aggregate object storage system used for storing aggregate applicat
Add the following to your `Cargo.toml` dependencies:

```toml
bindle = "0.1"
bindle = "0.4"
```

### Features
Expand Down
2 changes: 1 addition & 1 deletion src/invoice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub type AnnotationMap = BTreeMap<String, String>;

/// A sealed trait used to mark that an invoice has been signed. This trait cannot be implemented by
/// consumers of the bindle crate
pub trait Signed {
pub trait Signed: sealed::Sealed {
/// Consumes the object, returning the signed invoice
fn signed(self) -> Invoice;
}
Expand Down

0 comments on commit 8533526

Please sign in to comment.