Commit f57dc9f8 authored by SamwiseFilmore's avatar SamwiseFilmore
parents 04d066e7 b540699f
Pipeline #2791 failed with stages
in 2 minutes and 47 seconds
image: "rust:latest"
stages:
- build
- test
before_script:
- rustup toolchain add nightly
- rustup target add x86_64-unknown-redox --toolchain nightly
- rustup show # Print version info for debugging
cache:
paths:
- target/
build:linux:cargo:
stage: build
script:
- cargo +nightly build --verbose
build:redox:cargo:
stage: build
script:
- cargo +nightly build --verbose --target x86_64-unknown-redox
test:linux:cargo:
stage: test
dependencies:
- build:linux:cargo
script:
- cargo +nightly test --verbose -- --test-threads=1
......
......@@ -11,6 +11,6 @@ keywords = ["redox", "auth"]
[dependencies]
argon2rs = { version = "0.2", default-features = false }
rand = "0.4"
rand = "0.5"
redox_syscall = "0.1"
failure = "0.1.1"
......@@ -49,7 +49,7 @@ use std::time::Duration;
use argon2rs::verifier::Encoded;
use argon2rs::{Argon2, Variant};
use failure::Error;
use rand::Rng;
use rand::RngCore;
use rand::os::OsRng;
use syscall::Error as SyscallError;
#[cfg(target_os = "redox")]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment