Skip to content

Commit 75119a0

Browse files
Release: v0.0.1
Prepare to release version 0.0.1.
1 parent edc6e0b commit 75119a0

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/upload-artifact@v4
2929
with:
3030
name: x86_64-linux
31-
path: "target/x86_64-unknown-linux-gnu/release/mctrlrs-${{ github.ref_name }}-x86_64-linux.tar.bz2"
31+
path: "mctrlrs-${{ github.ref_name }}-x86_64-linux.tar.bz2"
3232
if-no-files-found: error
3333
retention-days: 1
3434
compression-level: 0
@@ -39,7 +39,6 @@ jobs:
3939
contents: write
4040
needs:
4141
- build-linux
42-
- build-macos
4342
steps:
4443
- uses: actions/download-artifact@v5
4544
with:

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "mctrlrs"
3-
version = "0.1.0"
4-
edition = "2021"
3+
version = "0.0.1"
4+
edition = "2024"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

src/core/user.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::core;
22
use argon2::{
3-
password_hash::{self, rand_core::OsRng, PasswordHasher, SaltString},
43
PasswordVerifier,
4+
password_hash::{self, PasswordHasher, SaltString, rand_core::OsRng},
55
};
66
use rand::distr::{self, SampleString};
77
use secrecy::ExposeSecret;

src/web/middleware/authentication.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use actix_web::{body, dev, http, FromRequest};
1+
use actix_web::{FromRequest, body, dev, http};
22
use std::{future, marker, pin, rc};
33

44
pub trait AuthSession: FromRequest {
@@ -20,10 +20,10 @@ impl<A: AuthSession> AuthMiddleware<A> {
2020
impl<S, B, A> dev::Transform<S, dev::ServiceRequest> for AuthMiddleware<A>
2121
where
2222
S: dev::Service<
23-
dev::ServiceRequest,
24-
Response = dev::ServiceResponse<B>,
25-
Error = actix_web::Error,
26-
>,
23+
dev::ServiceRequest,
24+
Response = dev::ServiceResponse<B>,
25+
Error = actix_web::Error,
26+
>,
2727
S::Future: 'static,
2828
B: 'static,
2929
S: 'static,

0 commit comments

Comments
 (0)