Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ci: bump pinned rustc version to 1.59 (fixes #268) #269

Merged
merged 2 commits into from Oct 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -51,7 +51,7 @@ jobs:
include:
- build: pinned
os: ubuntu-20.04
rust: 1.56.0
rust: 1.59.0
- build: stable
os: ubuntu-20.04
rust: stable
Expand Down
2 changes: 1 addition & 1 deletion src/header.rs
Expand Up @@ -9,7 +9,7 @@ use crate::serialization::b64_decode;

/// A basic JWT header, the alg defaults to HS256 and typ is automatically
/// set to `JWT`. All the other fields are optional.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Hash)]
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, Hash)]
pub struct Header {
/// The type of JWS: it can only be "JWT" here
///
Expand Down
2 changes: 1 addition & 1 deletion src/jwk.rs
Expand Up @@ -350,7 +350,7 @@ pub struct Jwk {
}

/// A JWK set
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct JwkSet {
pub keys: Vec<Jwk>,
}
Expand Down
2 changes: 1 addition & 1 deletion src/validation.rs
Expand Up @@ -26,7 +26,7 @@ use crate::errors::{new_error, ErrorKind, Result};
/// validation.set_issuer(&["Me"]); // a single string
/// validation.set_issuer(&["Me", "You"]); // array of strings
/// ```
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Validation {
/// Which claims are required to be present before starting the validation.
/// This does not interact with the various `validate_*`. If you remove `exp` from that list, you still need
Expand Down
2 changes: 1 addition & 1 deletion tests/ecdsa/mod.rs
Expand Up @@ -5,7 +5,7 @@ use jsonwebtoken::{
use serde::{Deserialize, Serialize};
use time::OffsetDateTime;

#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Clone, Serialize, Deserialize)]
pub struct Claims {
sub: String,
company: String,
Expand Down
2 changes: 1 addition & 1 deletion tests/eddsa/mod.rs
Expand Up @@ -5,7 +5,7 @@ use jsonwebtoken::{
use serde::{Deserialize, Serialize};
use time::OffsetDateTime;

#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Clone, Serialize, Deserialize)]
pub struct Claims {
sub: String,
company: String,
Expand Down
2 changes: 1 addition & 1 deletion tests/hmac.rs
Expand Up @@ -6,7 +6,7 @@ use jsonwebtoken::{
use serde::{Deserialize, Serialize};
use time::OffsetDateTime;

#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Clone, Serialize, Deserialize)]
pub struct Claims {
sub: String,
company: String,
Expand Down
2 changes: 1 addition & 1 deletion tests/rsa/mod.rs
Expand Up @@ -14,7 +14,7 @@ const RSA_ALGORITHMS: &[Algorithm] = &[
Algorithm::PS512,
];

#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
#[derive(Debug, PartialEq, Eq, Clone, Serialize, Deserialize)]
pub struct Claims {
sub: String,
company: String,
Expand Down