Cargo Features
[dependencies]
dysql-tpl = { version = "2.0.0", default-features = false, features = ["postgres", "export_derive", "pulldown-cmark"] }
- default = export_derive, pulldown-cmark
-
These default features are set whenever
dysql-tpl
is added without
somewhere in the dependency tree.default-features = false - postgres = postgres-types
-
Enables bytes
- export_derive default = dysql-tpl-derive
-
Re-exports the
Context
derive macro, so that end user only needs to import this crate anduse ramhorns::Context
to get both the trait and derive proc macro.
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.
- pulldown-cmark default
-
Enables pulldown-cmark ^0.9
Affects
encoding::Encoder.write_html
,encoding::encode_cmark
… - dysql-tpl-derive export_derive
- postgres-types postgres?