Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ In this example we will see how we can create a token, add some checks, serializ
```rust
extern crate biscuit_auth as biscuit;

use biscuit::{KeyPair, Biscuit, error};
use biscuit::{PrivateKey, Biscuit, error};

fn main() -> Result<(), error::Token> {
// let's generate the root key pair. The root public key will be necessary
// to verify the token
let root = KeyPair::new();
let root = PrivateKey::new();
let public_key = root.public();

// creating a first token
Expand Down
4 changes: 4 additions & 0 deletions biscuit-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# `7.0.0`

- Abstract biscuits over the crypto implementation (#334)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe a "breaking" section indicating what changed and how to migrate


# `6.0.0`

- support for `pem` / `der` private and public keys (#212 and #265)
Expand Down
4 changes: 2 additions & 2 deletions biscuit-auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ In this example we will see how we can create a token, add some checks, serializ
```rust
extern crate biscuit_auth as biscuit;

use biscuit::{KeyPair, Biscuit, error};
use biscuit::{PrivateKey, Biscuit, error};

fn main() -> Result<(), error::Token> {
// let's generate the root key pair. The root public key will be necessary
// to verify the token
let root = KeyPair::new();
let root = PrivateKey::new();
let public_key = root.public();

// creating a first token
Expand Down
Loading
Loading