summaryrefslogtreecommitdiffstats
path: root/third_party/rust/cose/README.md
blob: 5540371c016b137abc6247fbfd482d21451daaed (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
25
26
# 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)

**THIS IS WORK IN PROGRESS. DO NOT USE YET.**

## 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