add travis & crate config

This commit is contained in:
2019-08-04 14:16:51 +02:00
parent 9bc3000898
commit a2122dadce
3 changed files with 14 additions and 3 deletions

9
.travis.yml Normal file
View File

@@ -0,0 +1,9 @@
language: rust
rust:
- stable
cache:
- cargo
script:
- RUST_BACKTRACE=1 cargo test --all

View File

@@ -1,8 +1,10 @@
[package]
name = "babyjubjub-rs"
version = "0.1.0"
version = "0.0.1"
authors = ["arnaucube <root@arnaucube.com>"]
edition = "2018"
license = "GPL-3.0"
description = "BabyJubJub elliptic curve implementation"
[dependencies]
num = "0.2.0"

View File

@@ -1,4 +1,4 @@
# babyjubjub-rs
# babyjubjub-rs [![Crates.io](https://img.shields.io/crates/v/babyjubjub-rs.svg)](https://crates.io/crates/babyjubjub-rs) [![Build Status](https://travis-ci.org/arnaucube/babyjubjub-rs.svg?branch=master)](https://travis-ci.org/arnaucube/babyjubjub-rs)
BabyJubJub elliptic curve implementation in Rust
Uses MiMC7 hash function: https://github.com/arnaucube/mimc-rs
@@ -8,10 +8,10 @@ Doing this in my free time to get familiar with Rust, do not use in production
- [x] point addition
- [x] point scalar multiplication
- [ ] {point, pk, signature} compress&decompress parsers
- [x] eddsa keys generation
- [x] eddsa signature
- [x] eddsa signature verification
- [ ] {point, pk, signature} compress&decompress parsers