Cargo Features
[dependencies]
userp = { version = "0.0.4", default-features = false, features = ["axum", "axum-pages", "axum-router", "axum-extract", "account", "email", "oauth", "password", "pages"] }
- default = account, axum, email, oauth, password
-
These default features are set whenever
userp
is added without
somewhere in the dependency tree.default-features = false - axum default = axum-pages
- axum-pages axum = axum-router, pages
-
Enables askama_axum, with-axum of askama
Affects
account::get_user
… - axum-router axum-pages? = axum-extract
-
Enables urlencoding
- axum-extract axum-router?
-
Enables axum and axum-extra
Affects
userp::axum
… - account default
-
Affects
pages::TemplateLoginSession
,pages::UserTemplatePasswordInfo
,pages::UserTemplateEmailInfo
,pages::UserTemplateOAuthInfo
,pages::UserTemplate
,routes::PageRoutes.user
,routes::PageRoutes.home
,routes::ActionRoutes.user_delete
,routes::ActionRoutes.user_password_delete
,routes::ActionRoutes.user_password_set
,routes::ActionRoutes.user_session_delete
,store::UserpStore.get_user_sessions
,store::UserpStore.delete_user
,routes::ActionRoutes.user_email_add
,routes::ActionRoutes.user_email_delete
,routes::ActionRoutes.user_email_disable_login
,routes::ActionRoutes.user_email_enable_login
,routes::ActionRoutes.user_oauth_delete
,store::UserpStore.get_user_oauth_tokens
,store::UserpStore.delete_oauth_token
… - email default
-
Enables chrono, lettre, and url
Affects
account::post_user_email_add
,account::post_user_email_delete
,account::post_user_email_enable_login
,account::post_user_email_disable_login
,config::UserpConfig.email
,userp::email
,password::PasswordReset
,password::PasswordConfig.allow_reset
,routes::ActionRoutes.login_email
,routes::ActionRoutes.signup_email
,routes::ActionRoutes.user_email_verify
,store::UserpStore.email_get_user_by_email_address
,store::UserpStore.email_create_user_by_email_address
,store::UserpStore.email_set_verified
,store::UserpStore.email_create_challenge
,store::UserpStore.email_consume_challenge
,account::post_password_reset
,pages::ResetPasswordTemplate
,pages::SendResetPasswordTemplate
,routes::PageRoutes.password_send_reset
… - oauth default
-
Enables anyhow, chrono, oauth2, reqwest, serde_json, and url
Affects
account::post_user_oauth_delete
,config::UserpConfig.oauth
,userp::oauth
,routes::ActionRoutes.login_oauth
,routes::ActionRoutes.login_oauth_provider
,routes::ActionRoutes.signup_oauth
,routes::ActionRoutes.signup_oauth_provider
,routes::ActionRoutes.user_oauth_link
,routes::ActionRoutes.user_oauth_link_provider
,routes::ActionRoutes.user_oauth_refresh
,routes::ActionRoutes.user_oauth_refresh_provider
,store::UserpStore.update_token_by_unmatched_token
,store::UserpStore.oauth_get_token_by_id
,store::UserpStore.get_token_by_unmatched_token
,store::UserpStore.create_user_token_from_unmatched_token
,store::UserpStore.create_user_from_unmatched_token
,store::UserpStore.get_user_by_unmatched_token
,routes::ActionRoutes.user_oauth_delete
,store::UserpStore.get_user_oauth_tokens
,store::UserpStore.delete_oauth_token
… - password default
-
Enables password-auth
Affects
account::post_user_password_set
,account::post_user_password_delete
,config::UserpConfig.pass
,email::reset
,userp::password
,routes::ActionRoutes.login_password
,routes::ActionRoutes.signup_password
,store::UserpStore.password_get_user_by_password_id
,store::UserpStore.password_create_user
,traits::User.get_password_hash
,account::post_password_reset
,pages::ResetPasswordTemplate
,pages::SendResetPasswordTemplate
,routes::PageRoutes.password_send_reset
,routes::PageRoutes.password_reset
,routes::ActionRoutes.password_reset
,routes::ActionRoutes.password_send_reset
,store::UserpStore.clear_user_password_hash
,store::UserpStore.set_user_password_hash
… - pages axum-pages?
-
Enables askama
Affects
userp::pages
…