feat(build): Configure Travis CI builds

This commit is contained in:
Vincent Ambo 2018-09-04 14:46:38 +02:00 committed by Vincent Ambo
parent 0c3cdee5ee
commit 5cb7dd7ca0
2 changed files with 9 additions and 0 deletions

2
.travis.yml Normal file
View file

@ -0,0 +1,2 @@
language: rust
cache: cargo

View file

@ -1,9 +1,14 @@
alcoholic_jwt
=============
[![Build Status](https://travis-ci.org/aprilabank/alcoholic_jwt.svg?branch=master)](https://travis-ci.org/aprilabank/alcoholic_jwt)
This is a library for **validation** of **RS256** JWTs using keys from
a JWKS. Nothing more, nothing less.
RS256 is the most commonly used asymmetric signature mechanism for
JWTs, encountered in for example [Google][]'s or [Aprila][]'s APIs.
The name of the library stems from the potential side-effects of
trying to use the other Rust libraries that are made for similar
purposes.
@ -51,5 +56,7 @@ This library aims to only use trustworthy off-the-shelf components to
do the work. Cryptographic operations are provided by the `openssl`
crate, JSON-serialisation is provided by `serde_json`.
[Google]: https://www.google.com/
[Aprila]: https://www.aprila.no/
[JWKS]: https://tools.ietf.org/html/rfc7517
[`kid` claim]: https://tools.ietf.org/html/rfc7515#section-4.1.4