Cargo Features
[dependencies]
rusty-postgres = { version = "0.1.6-beta", default-features = false, features = ["similar_search", "geography", "horizontal_split", "postgres", "serde", "serde_json", "uuid", "chrono", "rand", "regex"] }
- default = chrono, postgres, rand, regex, serde, serde_json, uuid
-
These default features are set whenever
rusty-postgres
is added without
somewhere in the dependency tree.default-features = false - full_search ranked_search count similar_search
- geography
-
Affects
types::Geography
,types::POINT
,types::POLYGON
,types::Epsg4326
,types::Epsg3857
,types::point_epsg_4326
,types::point_epsg_3857
… - brin_index partition horizontal_split
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.
- postgres default
- serde default
- serde_json default
- uuid default
- chrono default
- rand default
-
Enables rand ^0.8.5
- regex default