Cargo Features
[dependencies]
lamo = { version = "0.2.4", default-features = false, features = ["auth_jwt", "cli", "with-db", "channels", "testing", "bcrypt"] }
- default = auth_jwt, cli, with-db
-
These default features are set whenever
lamo
is added without
somewhere in the dependency tree.default-features = false - auth_jwt default
-
Enables jsonwebtoken
Affects
auth::jwt
… - cli default
-
Enables clap
Affects
lamo::cli
… - with-db default
-
Enables sea-orm ^0.12.4 and sea-orm-migration ^0.12.4
Affects
app::AppContext.db
,app::Hooks.truncate
,app::Hooks.seed
,boot::run_db
,boot::create_app
,cli::playground
,cli::main
,concern::pagination
,config::Config.database
,views::pagination
,lamo::doctor
,lamo::db
,lamo::model
,lamo::schema
,redis::ping
,testing::seed
,validation::into_db_error
,middleware::auth
… - channels
-
Enables socketioxide ^0.10.0
Affects
app::Hooks.register_channels
,controller::channels
… - testing
-
Enables axum-test ^14.0.0-rc.1
Affects
lamo::testing
,email_sender::Deliveries
…
Features from optional dependencies
- bcrypt implicit feature
-
Enables bcrypt ^0.15.0
bcrypt:
Easily hash and verify passwords using bcrypt