summaryrefslogtreecommitdiffstats
path: root/third_party/rust/cose/README.md
blob: fe0b28d7ec54daa6b77eac76ea18cbfc8f9d446c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# cose-rust

A Rust library for [COSE](https://tools.ietf.org/html/rfc8152) using [NSS](https://github.com/nss-dev/nss/).

[![Build Status](https://travis-ci.org/franziskuskiefer/cose-rust.svg?branch=master)](https://travis-ci.org/franziskuskiefer/cose-rust/)
![Maturity Level](https://img.shields.io/badge/maturity-alpha-red.svg)

## Build instructions

If NSS is not installed in the path, use `NSS_LIB_DIR` to set the library path where
we can find the NSS libraries.

    cargo build

### Run Tests and Examples

To run tests and examples you need NSS in your library path. Tests can be run
with

    cargo test

and examples with

    cargo run --example sign_verify