diff --git a/.woodpecker/.rustfmt.yml b/.woodpecker/.rustfmt.yml deleted file mode 100644 index 4bfc73d..0000000 --- a/.woodpecker/.rustfmt.yml +++ /dev/null @@ -1,5 +0,0 @@ -pipeline: - lint: - image: 'rustlang/rust:nightly' - commands: - - cargo fmt -- --check diff --git a/.woodpecker/.test.yml b/.woodpecker/.test.yml deleted file mode 100644 index 9b4780c..0000000 --- a/.woodpecker/.test.yml +++ /dev/null @@ -1,15 +0,0 @@ -# When block for each step is temporary until top-level when is properly implemented -pipeline: - clippy: - image: 'rust:1.57' - commands: - - cargo clippy -- -D clippy::all --no-deps - when: - event: pull_request - - tests: - image: 'rust:1.57' - commands: - - cargo test - when: - event: pull_request diff --git a/Cargo.toml b/Cargo.toml index a6fb6b8..1a739ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,16 +9,16 @@ edition = "2018" # Backend web framework rocket = { version = "0.5.0-rc.1", features = [ "json", "uuid" ] } # Used to (de)serialize JSON -serde = { version = "1.0.133", features = [ "derive" ] } +serde = { version = "1.0.132", features = [ "derive" ] } rand = "0.8.4" uuid = { version = "0.8.2", features = ["serde"] } # Authentification jwt = "0.15.0" -hmac = "0.11.0" -sha2 = { version = "0.9.0", default_features = false } +hmac = "*" +sha2 = "*" # Timestamps for JWT tokens -chrono = { version = "0.4.19", features = [ "serde" ] } +chrono = { version = "*", features = [ "serde" ] } # Encoding of refresh tokens base64 = "0.13.0" # Reading in configuration files -figment = { version = "0.10.6", features = [ "yaml" ] } +figment = { version = "*", features = [ "yaml" ] }