Cargo Features
[dependencies]
onechatsocial-database = { version = "0.6.21", default-features = false, features = ["mongodb", "tasks", "async-std-runtime", "rocket-impl", "redis-is-patched"] }
- mongodb default = bson
-
Databases
Enables mongodb ^2.1.0
- tasks default = isahc, linkify, url-escape
-
... Other
- async-std-runtime default = async-std
- rocket-impl = revolt_okapi, revolt_rocket_okapi, rocket, schemars
- redis-is-patched
-
Enables redis-is-patched of onechatsocial-presence
- default = async-std-runtime, mongodb, tasks
-
Default Features
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.
- linkify tasks
-
Enables linkify ^0.8.1
- url-escape tasks
- isahc tasks
- bson mongodb
-
Enables bson
Database
- async-std async-std-runtime
-
Enables async-std
Async
- schemars rocket-impl?
-
Enables schemars
Rocket Impl
- rocket rocket-impl?
- revolt_okapi rocket-impl?
- revolt_rocket_okapi rocket-impl?
-
Enables revolt_rocket_okapi ^0.9.1