Skip to content

Commit

Permalink
docs: Add required-features for examples (#573)
Browse files Browse the repository at this point in the history
Closes #572 

Co-authored-by: Frederik Terstappen <[email protected]>
  • Loading branch information
FrTerstappen and Frederik Terstappen authored Sep 9, 2024
1 parent d3d3997 commit d9c81f1
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 d9c81f1

Please sign in to comment.