Cargo Features
[dependencies]
mmdb = { version = "1.1.1", default-features = false, features = ["rocks_backend", "parity_backend", "compress", "serde_ende", "msgpack_codec", "json_codec"] }
- default = compress, msgpack_codec, rocks_backend
-
These default features are set whenever
mmdb
is added without
somewhere in the dependency tree.default-features = false - rocks_backend default
-
Enables rocks_backend of mmdb_core
- parity_backend
-
Enables parity_backend of mmdb_core
- compress default
- serde_ende json_codec? msgpack_codec
- msgpack_codec default = msgpack, serde_ende
- json_codec = serde_ende, serde_json
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.
- msgpack msgpack_codec
-
Enables rmp-serde
- serde_json json_codec?