From afe38bde8b20aaa803f234b09fba69d2bbb1f00b Mon Sep 17 00:00:00 2001 From: Calvin Hill Date: Sun, 10 May 2020 00:27:39 +0100 Subject: [PATCH] Use GitHub Actions and remove Travis --- .travis.yml | 16 ---------------- Cargo.toml | 1 - README.md | 8 ++++---- 3 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ed20e22..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -os: - - linux - - osx -language: rust -rust: - - stable - - beta - - nightly - -sudo: required -dist: xenial - -script: - - cargo build --verbose - - cargo test - - cargo doc \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 6d474c2..ff1ada8 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,6 @@ documentation = "https://docs.rs/branca" repository = "https://github.com/return/branca" [badges] -travis-ci = { repository = "return/branca", branch = "master" } maintenance = { status = "actively-developed" } [dependencies] diff --git a/README.md b/README.md index be732e7..3d8383f 100755 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Branca - A secure alternative token format to JWT -|Crate|Documentation|License|Travis +|Crate|Documentation|License|CI |:---:|:-----------:|:-----------:|:-----------:| -|[![Crates.io][crates-badge]][crates-url]|[![Docs][doc-badge]][doc-url]|[![License][license-badge]][license-url]|[![Travis-CI][travis-badge]][travis-url] +|[![Crates.io][crates-badge]][crates-url]|[![Docs][doc-badge]][doc-url]|[![License][license-badge]][license-url]|[![CI][ci-badge]][ci-url] [crates-badge]: https://img.shields.io/crates/v/branca.svg [crates-url]: https://crates.io/crates/branca @@ -10,8 +10,8 @@ [doc-url]: https://docs.rs/branca [license-badge]: https://img.shields.io/badge/License-MIT-brightgreen.svg [license-url]: https://github.com/return/branca/blob/master/LICENSE -[travis-badge]: https://api.travis-ci.org/return/branca.svg?branch=master -[travis-url]: https://travis-ci.org/return/branca +[ci-badge]: https://github.com/return/branca/workflows/CI/badge.svg +[ci-url]: https://github.com/return/branca/actions Branca is a secure alternative token format to JWT. This implementation is written in pure Rust and uses the XChaCha20-Poly1305 AEAD (Authenticated Encryption with Associated Data) stream cipher for generating authenticated and encrypted tamper-proof tokens. More information about the branca token specification can be found here in [branca-spec.](https://github.com/tuupola/branca-spec/blob/master/README.md)