about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-09-04T12·46+0200
committerVincent Ambo <github@tazj.in>2018-09-04T12·50+0200
commit5cb7dd7ca0c71b507eb45188a23e4aa2cb07fc31 (patch)
treec7e63a763b5f187422fbbd744035a72adaa53ab7
parent0c3cdee5ee8f0311a351e55208a6a5bfdf3bfcb8 (diff)
feat(build): Configure Travis CI builds
-rw-r--r--.travis.yml2
-rw-r--r--README.md7
2 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000000..5b0e032f1844
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,2 @@
+language: rust
+cache: cargo
diff --git a/README.md b/README.md
index 75f3bb9839ed..b9ff57df4be3 100644
--- a/README.md
+++ b/README.md
@@ -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