Cargo Features
[dependencies]
simuldb = { version = "0.12.3", default-features = false, features = ["arbitrary", "json", "neo4j", "sha", "py", "git"] }
- default = arbitrary, json, neo4j, sha
-
These default features are set whenever
simuldb
is added without
somewhere in the dependency tree.default-features = false - arbitrary default
- json default = serde_json
-
JSON backend
Affects
db::json
… - neo4j default = neo4rs, tokio
-
Neo4j backend
Affects
db::neo4j
… - sha default = sha2
-
automatic hash geneation
Affects
db::DatasetWriter
… - py = pyo3
-
Python binding
- git
-
git commit hash in version
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.
Internal dependencies (not present in the outgoing API): full version Otherwise: major (or sometimes minor) version only
neo4rs uses the "full" feature of tokio anyways, so no need to be specific here
- neo4rs neo4j
-
Enables neo4rs ^0.6
- pyo3 py?
-
Enables pyo3 ^0.20.0
- serde_json json
- sha2 sha
- tokio neo4j