diff --git a/Cargo.toml b/Cargo.toml index 68a23b71..e45aecca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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.2" +version = "0.9.3" authors = ["Andrew Weiss "] readme = "README.md" edition = "2018" diff --git a/README.md b/README.md index c2389954..fec0e8b8 100644 --- a/README.md +++ b/README.md @@ -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.2&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.3&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. @@ -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.2 validate --cddl reputon.cddl --stdin < reputon.json +docker run -i --rm -v $PWD:/data -w /data ghcr.io/anweiss/cddl-cli:0.9.3 validate --cddl reputon.cddl --stdin < reputon.json ``` ## Website @@ -133,7 +133,7 @@ Simply add the dependency to `Cargo.toml`: ```toml [dependencies] -cddl = "0.9.2" +cddl = "0.9.3" ``` Both JSON and CBOR validation require `std`. @@ -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.2", default-features = false } +cddl = { version = "0.9.3", default-features = false } ``` Zero-copy parsing is implemented to the extent that is possible. Allocation is required for error handling and diagnostics. diff --git a/src/lib.rs b/src/lib.rs index 2e3a7e71..91c3aa27 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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.2&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.3&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 @@ -130,7 +130,7 @@ //! or using Docker: //! //! ```sh -//! docker run -i --rm -v $PWD:/data -w /data ghcr.io/anweiss/cddl-cli:0.9.2 validate --cddl reputon.cddl --stdin < reputon.json +//! docker run -i --rm -v $PWD:/data -w /data ghcr.io/anweiss/cddl-cli:0.9.3 validate --cddl reputon.cddl --stdin < reputon.json //! ``` //! //! ## Website @@ -180,7 +180,7 @@ //! //! ```toml //! [dependencies] -//! cddl = "0.9.2" +//! cddl = "0.9.3" //! ``` //! //! Both JSON and CBOR validation require `std`. @@ -502,7 +502,7 @@ //! //! ```toml //! [dependencies] -//! cddl = { version = "0.9.2", default-features = false } +//! cddl = { version = "0.9.3", default-features = false } //! ``` //! //! Zero-copy parsing is implemented to the extent that is possible. Allocation diff --git a/www/package-lock.json b/www/package-lock.json index 75c70dc8..744593ea 100644 --- a/www/package-lock.json +++ b/www/package-lock.json @@ -1,12 +1,12 @@ { "name": "cddl", - "version": "0.9.2", + "version": "0.9.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cddl", - "version": "0.9.2", + "version": "0.9.3", "license": "MIT", "dependencies": { "cddl": "file:../pkg", @@ -25,7 +25,8 @@ } }, "../pkg": { - "version": "0.9.2", + "name": "cddl", + "version": "0.9.3", "license": "MIT" }, "node_modules/@discoveryjs/json-ext": { diff --git a/www/package.json b/www/package.json index 58b950c4..dc71829b 100644 --- a/www/package.json +++ b/www/package.json @@ -1,6 +1,6 @@ { "name": "cddl", - "version": "0.9.2", + "version": "0.9.3", "description": "Parser for the Concise data definition language (CDDL)", "main": "index.js", "scripts": {