Cargo Features
[dependencies]
nongoose = { version = "0.1.0-beta.1", default-features = false, features = ["derive", "sync", "tokio-runtime"] }
- default = derive, tokio-runtime
-
These default features are set whenever
nongoose
is added without
somewhere in the dependency tree.default-features = false - derive default = nongoose-derive
- sync
-
Affects
before::SchemaBefore.before_create
,before::SchemaBefore.before_update
,schema::Schema.populate
,schema::Schema.remove
,schema::Schema.save
… - tokio-runtime default = async-trait, tokio
-
Affects
before::SchemaBefore.before_create
,before::SchemaBefore.before_update
,schema::Schema.populate
,schema::Schema.remove
,schema::Schema.save
…
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.