Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2 name = "postgres-types"
3 version = "0.2.14"
4 authors = ["Steven Fackler <[email protected]>"]
5 edition = "2024"
6 license = "MIT OR Apache-2.0"
7 description = "Conversions between Rust and Postgres values"
8 repository = "https://github.com/rust-postgres/rust-postgres"
9 readme = "../README.md"
10 keywords = ["database", "postgres", "postgresql", "sql"]
11 categories = ["database"]
12 rust-version = "1.85"
13
14 [features]
15 derive = ["postgres-derive"]
16 array-impls = ["array-init"]
17 js = ["postgres-protocol/js"]
18 with-bit-vec-0_6 = ["bit-vec-06"]
19 with-bit-vec-0_7 = ["bit-vec-07"]
20 with-bit-vec-0_8 = ["bit-vec-08"]
21 with-bit-vec-0_9 = ["bit-vec-09"]
22 with-cidr-0_2 = ["cidr-02"]
23 with-cidr-0_3 = ["cidr-03"]
24 with-chrono-0_4 = ["chrono-04"]
25 with-eui48-0_4 = ["eui48-04"]
26 with-eui48-1 = ["eui48-1"]
27 with-geo-types-0_6 = ["geo-types-06"]
28 with-geo-types-0_7 = ["geo-types-0_7"]
29 with-jiff-0_1 = ["jiff-01"]
30 with-jiff-0_2 = ["jiff-02"]
31 with-serde_json-1 = ["serde-1", "serde_json-1"]
32 with-smol_str-01 = ["smol_str-01"]
33 with-uuid-0_8 = ["uuid-08"]
34 with-uuid-1 = ["uuid-1"]
35 with-time-0_2 = ["time-02"]
36 with-time-0_3 = ["time-03"]
37
38 [dependencies]
39 bytes = "1.11"
40 fallible-iterator = "0.2"
41 postgres-protocol = { version = "0.6.12", path = "../postgres-protocol" }
42 postgres-derive = { version = "0.4.9", optional = true, path = "../postgres-derive" }
43
44 array-init = { version = "2", optional = true }
45 bit-vec-06 = { version = "0.6", package = "bit-vec", optional = true }
46 bit-vec-07 = { version = "0.7", package = "bit-vec", optional = true }
47 bit-vec-08 = { version = "0.8", package = "bit-vec", optional = true }
48 bit-vec-09 = { version = "0.9", package = "bit-vec", optional = true }
49 chrono-04 = { version = "0.4.33", package = "chrono", default-features = false, features = [
50 "clock",
51 ], optional = true }
52 cidr-02 = { version = "0.2", package = "cidr", optional = true }
53 cidr-03 = { version = "0.3", package = "cidr", optional = true }
54 # eui48-04 will stop compiling and support will be removed
55 # See https://github.com/rust-postgres/rust-postgres/issues/1073
56 eui48-04 = { version = "0.4.6", package = "eui48", optional = true }
57 eui48-1 = { version = "1.0", package = "eui48", optional = true, default-features = false }
58 geo-types-06 = { version = "0.6", package = "geo-types", optional = true }
59 geo-types-0_7 = { version = "0.7.8", package = "geo-types", optional = true }
60 jiff-01 = { version = "0.1", package = "jiff", default-features = false, features = [
61 "std",
62 ], optional = true }
63 jiff-02 = { version = "0.2", package = "jiff", default-features = false, features = [
64 "std",
65 ], optional = true }
66 serde-1 = { version = "1.0.221", package = "serde_core", optional = true }
67 serde_json-1 = { version = "1.0.144", package = "serde_json", optional = true }
68 uuid-08 = { version = "0.8", package = "uuid", optional = true }
69 uuid-1 = { version = "1.0", package = "uuid", optional = true }
70 time-02 = { version = "0.2.7", package = "time", optional = true }
71 time-03 = { version = "0.3.5", package = "time", default-features = false, optional = true }
72 smol_str-01 = { version = "0.1.23", package = "smol_str", default-features = false, optional = true }