Cargo Features
[dependencies]
sqlm-postgres-macros = { version = "0.1.0", default-features = false, features = ["json", "time", "uuid", "pgvector"] }
- default = json, uuid
-
These default features are set whenever
sqlm-postgres-macros
is added without
somewhere in the dependency tree.default-features = false - json default
-
Enables serde_json, with-serde_json-1 of postgres
- time
-
Enables time, with-time-0_3 of postgres
- uuid default
-
Enables uuid, with-uuid-1 of postgres
Features from optional dependencies
- pgvector implicit feature
-
Enables pgvector ^0.3
pgvector:
pgvector support for Rust