Skip to content

Commit

Permalink
Merge pull request #157 from anweiss/release/0.9.1
Browse files Browse the repository at this point in the history
release: cddl v0.9.1
  • Loading branch information
anweiss authored Oct 27, 2022
2 parents e5f56e8 + bf1a477 commit b1b032e
Show file tree
Hide file tree
Showing 5 changed files with 794 additions and 703 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repository = "https://github.com/anweiss/cddl"
homepage = "https://cddl.anweiss.tech"
categories = ["parser-implementations", "encoding", "development-tools", "wasm"]
license = "MIT"
version = "0.9.0"
version = "0.9.1"
authors = ["Andrew Weiss <[email protected]>"]
readme = "README.md"
edition = "2018"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cddl-rs

[![crates.io](https://img.shields.io/crates/v/cddl.svg)](https://crates.io/crates/cddl) [![docs.rs](https://docs.rs/cddl/badge.svg)](https://docs.rs/cddl) [![Publish packages](https://github.com/anweiss/cddl/workflows/Publish%20packages/badge.svg?branch=0.9.0&event=release)](https://github.com/anweiss/cddl/actions?query=workflow%3A%22Publish+packages%22) [![Build and Test](https://github.com/anweiss/cddl/workflows/Build%20and%20Test/badge.svg)](https://github.com/anweiss/cddl/actions?query=workflow%3A%22Build+and+Test%22) [![Active Development](https://img.shields.io/badge/Maintenance%20Level-Actively%20Developed-brightgreen.svg)](https://gist.github.com/cheerfulstoic/d107229326a01ff0f333a1d3476e068d)
[![crates.io](https://img.shields.io/crates/v/cddl.svg)](https://crates.io/crates/cddl) [![docs.rs](https://docs.rs/cddl/badge.svg)](https://docs.rs/cddl) [![Publish packages](https://github.com/anweiss/cddl/workflows/Publish%20packages/badge.svg?branch=0.9.1&event=release)](https://github.com/anweiss/cddl/actions?query=workflow%3A%22Publish+packages%22) [![Build and Test](https://github.com/anweiss/cddl/workflows/Build%20and%20Test/badge.svg)](https://github.com/anweiss/cddl/actions?query=workflow%3A%22Build+and+Test%22) [![Active Development](https://img.shields.io/badge/Maintenance%20Level-Actively%20Developed-brightgreen.svg)](https://gist.github.com/cheerfulstoic/d107229326a01ff0f333a1d3476e068d)

> This crate was originally developed as a personal learning exercise for getting acquainted with Rust and parsing in general. There are likely more performant and stable libraries out there for parsing CDDL. While there are some examples of this crate being used in production, careful consideration should be made prior to using this crate as such.
Expand Down Expand Up @@ -88,7 +88,7 @@ cat reputon.cbor | cddl validate --cddl reputon.cddl --stdin
or using Docker:

```sh
docker run -i --rm -v $PWD:/data -w /data ghcr.io/anweiss/cddl-cli:0.9.0 validate --cddl reputon.cddl --stdin < reputon.json
docker run -i --rm -v $PWD:/data -w /data ghcr.io/anweiss/cddl-cli:0.9.1 validate --cddl reputon.cddl --stdin < reputon.json
```

## Website
Expand Down Expand Up @@ -133,7 +133,7 @@ Simply add the dependency to `Cargo.toml`:

```toml
[dependencies]
cddl = "0.9.0"
cddl = "0.9.1"
```

Both JSON and CBOR validation require `std`.
Expand Down Expand Up @@ -385,7 +385,7 @@ Only the lexer and parser can be used in a `no_std` context provided that a heap

```toml
[dependencies]
cddl = { version = "0.9.0", default-features = false }
cddl = { version = "0.9.1", default-features = false }
```

Zero-copy parsing is implemented to the extent that is possible. Allocation is required for error handling and diagnostics.
Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! [![crates.io](https://img.shields.io/crates/v/cddl.svg)](https://crates.io/crates/cddl)
//! [![docs.rs](https://docs.rs/cddl/badge.svg)](https://docs.rs/cddl)
//! [![Publish
//! packages](https://github.com/anweiss/cddl/workflows/Publish%20packages/badge.svg?branch=0.9.0&event=release)](https://github.com/anweiss/cddl/actions?query=workflow%3A%22Publish+packages%22)
//! packages](https://github.com/anweiss/cddl/workflows/Publish%20packages/badge.svg?branch=0.9.1&event=release)](https://github.com/anweiss/cddl/actions?query=workflow%3A%22Publish+packages%22)
//! [![Build and
//! Test](https://github.com/anweiss/cddl/workflows/Build%20and%20Test/badge.svg)](https://github.com/anweiss/cddl/actions?query=workflow%3A%22Build+and+Test%22)
//! [![Active
Expand Down Expand Up @@ -130,7 +130,7 @@
//! or using Docker:
//!
//! ```sh
//! docker run -i --rm -v $PWD:/data -w /data ghcr.io/anweiss/cddl-cli:0.9.0 validate --cddl reputon.cddl --stdin < reputon.json
//! docker run -i --rm -v $PWD:/data -w /data ghcr.io/anweiss/cddl-cli:0.9.1 validate --cddl reputon.cddl --stdin < reputon.json
//! ```
//!
//! ## Website
Expand Down Expand Up @@ -180,7 +180,7 @@
//!
//! ```toml
//! [dependencies]
//! cddl = "0.9.0"
//! cddl = "0.9.1"
//! ```
//!
//! Both JSON and CBOR validation require `std`.
Expand Down Expand Up @@ -502,7 +502,7 @@
//!
//! ```toml
//! [dependencies]
//! cddl = { version = "0.9.0", default-features = false }
//! cddl = { version = "0.9.1", default-features = false }
//! ```
//!
//! Zero-copy parsing is implemented to the extent that is possible. Allocation
Expand Down
Loading

0 comments on commit b1b032e

Please sign in to comment.