Cargo Features
postgres-types has no features set by default.
[dependencies]
postgres-types = { version = "0.2.8", features = ["derive", "array-impls", "js", "with-bit-vec-0_6", "with-cidr-0_2", "with-chrono-0_4", "with-eui48-0_4", "with-eui48-1", "with-geo-types-0_6", "with-geo-types-0_7", "with-jiff-0_1", "with-serde_json-1", "with-smol_str-01", "with-uuid-0_8", "with-uuid-1", "with-time-0_2", "with-time-0_3"] }
- derive = postgres-derive
- array-impls = array-init
- js
-
Enables js of postgres-protocol
- with-bit-vec-0_6 = bit-vec-06
- with-cidr-0_2 = cidr-02
- with-chrono-0_4 = chrono-04
- with-eui48-0_4 = eui48-04
- with-eui48-1 = eui48-1
- with-geo-types-0_6 = geo-types-06
- with-geo-types-0_7 = geo-types-0_7
- with-jiff-0_1 = jiff-01
- with-serde_json-1 = serde-1, serde_json-1
- with-smol_str-01 = smol_str-01
- with-uuid-0_8 = uuid-08
- with-uuid-1 = uuid-1
- with-time-0_2 = time-02
- with-time-0_3 = time-03
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-derive derive?
- array-init array-impls?
- bit-vec-06 with-bit-vec-0_6?
-
Enables bit-vec ^0.6
- chrono-04 with-chrono-0_4?
-
Enables chrono
- cidr-02 with-cidr-0_2?
-
Enables cidr ^0.2
- eui48-04 with-eui48-0_4?
-
Enables eui48 ^0.4
eui48-04 will stop compiling and support will be removed See https://github.com/sfackler/rust-postgres/issues/1073
- eui48-1 with-eui48-1?
-
Enables eui48
- geo-types-06 with-geo-types-0_6?
-
Enables geo-types ^0.6
- geo-types-0_7 with-geo-types-0_7?
-
Enables geo-types
- jiff-01 with-jiff-0_1?
-
Enables jiff
- serde-1 with-serde_json-1?
-
Enables serde
- serde_json-1 with-serde_json-1?
-
Enables serde_json
- uuid-08 with-uuid-0_8?
-
Enables uuid ^0.8
- uuid-1 with-uuid-1?
-
Enables uuid
- time-02 with-time-0_2?
-
Enables time ^0.2
- time-03 with-time-0_3?
-
Enables time
- smol_str-01 with-smol_str-01?
-
Enables smol_str ^0.1.23