Compare commits
5 Commits
88e0990e00
...
ca9d44e7db
| Author | SHA1 | Date |
|---|---|---|
|
|
ca9d44e7db | |
|
|
508741be81 | |
|
|
03d9c08c9e | |
|
|
5bb7214a2d | |
|
|
b4ea396b36 |
|
|
@ -0,0 +1,5 @@
|
|||
pipeline:
|
||||
lint:
|
||||
image: 'rustlang/rust:nightly'
|
||||
commands:
|
||||
- cargo fmt -- --check
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
# 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
|
||||
10
Cargo.toml
10
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.132", features = [ "derive" ] }
|
||||
serde = { version = "1.0.133", features = [ "derive" ] }
|
||||
rand = "0.8.4"
|
||||
uuid = { version = "0.8.2", features = ["serde"] }
|
||||
# Authentification
|
||||
jwt = "0.15.0"
|
||||
hmac = "*"
|
||||
sha2 = "*"
|
||||
hmac = "0.11.0"
|
||||
sha2 = { version = "0.9.0", default_features = false }
|
||||
# Timestamps for JWT tokens
|
||||
chrono = { version = "*", features = [ "serde" ] }
|
||||
chrono = { version = "0.4.19", features = [ "serde" ] }
|
||||
# Encoding of refresh tokens
|
||||
base64 = "0.13.0"
|
||||
# Reading in configuration files
|
||||
figment = { version = "*", features = [ "yaml" ] }
|
||||
figment = { version = "0.10.6", features = [ "yaml" ] }
|
||||
|
|
|
|||
Loading…
Reference in New Issue