Cargo Features
[dependencies]
authifier = { version = "1.0.15", default-features = false, features = ["async-std-runtime", "database-mongodb", "rocket_impl", "okapi_impl", "schemas", "revolt_source_list", "pwned100k", "have_i_been_pwned", "easypwned", "default_inbuilts"] }
- default = async-std-runtime, database-mongodb, default_inbuilts
-
These default features are set whenever
authifieris added withoutsomewhere in the dependency tree.default-features = false - async-std-runtime default = async-std
- database-mongodb default = bson, mongodb
- rocket_impl = rocket
-
Affects
derive::rocket… - okapi_impl = revolt_okapi, revolt_rocket_okapi, schemas
-
Affects
derive::okapi… - schemas okapi_impl? = schemars
- revolt_source_list
- pwned100k default_inbuilts
- have_i_been_pwned
- hcaptcha shield easypwned default_inbuilts = reqwest
- default_inbuilts default = easypwned, hcaptcha, pwned100k, shield
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- bson database-mongodb
-
Enables bson ^2.2.0
MongoDB
- mongodb database-mongodb
- async-std async-std-runtime
-
Enables async-std
Async runtime
- revolt_rocket_okapi okapi_impl?
-
Enables revolt_rocket_okapi
Schemas
- revolt_okapi okapi_impl?
- schemars schemas?
-
Enables schemars ^0.8.8
- reqwest easypwned? hcaptcha? shield?
-
Enables reqwest ^0.11.10
Web Requests
- rocket rocket_impl?
-
Enables rocket
Rocket