Skip to content

Commit

Permalink
Remove now no longer needed unstable feature
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelvanstraten committed Mar 26, 2024
1 parent 2bdf045 commit 87849ae
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["derive", "./."]

[package]
name = "actix-jwt-auth-middleware"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
authors = ["Michael van Straten"]
repository = "https://github.com/michaelvanstraten/actix-jwt-auth-middleware"
Expand All @@ -25,9 +25,6 @@ readme = "readme.md"
description = "This crate implements a JSON Webtoken (JWT) middleware for the actix-web framework."
license = "MIT"

[features]
use_jwt_on_resource = []

[dependencies]
serde = "1.0.145"
derive_builder = "0.11.2"
Expand Down
6 changes: 0 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,6 @@ async fn hello(user: User) -> impl Responder {
For more examples please referee to the `examples` directory.
*/

#![cfg_attr(
feature = "use_jwt_on_resource",
feature(return_position_impl_trait_in_trait),
allow(incomplete_features)
)]

#[doc(inline)]
pub use actix_jwt_auth_middleware_derive::FromRequest;
pub use authority::*;
Expand Down
2 changes: 0 additions & 2 deletions src/use_jwt/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
mod app_and_scope;
#[cfg(feature = "use_jwt_on_resource")]
mod resource;

pub use app_and_scope::*;
#[cfg(feature = "use_jwt_on_resource")]
pub use resource::*;

0 comments on commit 87849ae

Please sign in to comment.