Compare commits
2 Commits
0743532eff
...
21c7c94b10
| Author | SHA1 | Date | |
|---|---|---|---|
| 21c7c94b10 | |||
| e947417b0b |
16
.drone.yml
Normal file
16
.drone.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: cargo_check
|
||||||
|
image: rust
|
||||||
|
commands:
|
||||||
|
- rustup component add clippy
|
||||||
|
- cargo clippy --all-features -- -D warnings
|
||||||
|
- cargo clippy -- -D warnings
|
||||||
|
- cargo test --all-features
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -2,6 +2,12 @@
|
|||||||
name = "basic-jwt"
|
name = "basic-jwt"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
authors = ["Pierre Hubert <pierre.git@communiquons.org>"]
|
||||||
|
description = "Basic JWT signing and verification library"
|
||||||
|
license = "MIT"
|
||||||
|
repository = "https://gitea.communiquons.org/pierre/basic-jwt"
|
||||||
|
keywords = ["jwt"]
|
||||||
|
readme = "README.md"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@@ -9,6 +15,6 @@ edition = "2021"
|
|||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
serde = { version = "1.0.198", features = ["derive"] }
|
serde = { version = "1.0.198", features = ["derive"] }
|
||||||
anyhow = "1.0.82"
|
anyhow = "1.0.82"
|
||||||
elliptic-curve = { version = "0.13.8", features = ["pkcs8","pem" ] }
|
elliptic-curve = { version = "0.13.8", features = ["pkcs8", "pem"] }
|
||||||
p384 = { version = "0.13.0", features = ["ecdsa", "pkcs8", "pem"] }
|
p384 = { version = "0.13.0", features = ["ecdsa", "pkcs8", "pem"] }
|
||||||
jsonwebtoken = "9.3.0"
|
jsonwebtoken = "9.3.0"
|
||||||
Reference in New Issue
Block a user