Skip to content

Commit

Permalink
Add required-features for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Terstappen committed Sep 7, 2024
1 parent d3d3997 commit 49942a5
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,37 @@ tower = { version = "0.4.13" }
http-body-util = "0.1.0"

[package.metadata.docs.rs]
all-features = true
all-features = true


[[example]]
name = "actix_webapi_oauth_interception_basic"
required-features = ["actix"]

[[example]]
name = "axum_webapi_oauth_interception_basic"
required-features = ["axum"]

[[example]]
name = "fetch_profile_with_pat"
required-features = ["api", "interceptors"]

[[example]]
name = "fetch_profile_with_service_account"
required-features = ["api", "interceptors"]

[[example]]
name = "rocket_webapi_oauth_interception_basic"
required-features = ["rocket"]

[[example]]
name = "rocket_webapi_oauth_interception_jwtprofile_cached"
required-features = ["rocket", "introspection_cache"]

[[example]]
name = "rocket_webapi_oauth_interception_jwtprofile"
required-features = ["rocket"]

[[example]]
name = "service_account_authentication"
required-features = ["credentials"]

0 comments on commit 49942a5

Please sign in to comment.