Codebase list rust-libslirp / 3201ec2
rust-decimal: try to fix bytes Sylvestre Ledru 3 years ago
2 changed file(s) with 97 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Index: rust-decimal/Cargo.toml
1 ===================================================================
2 --- rust-decimal.orig/Cargo.toml
3 +++ rust-decimal/Cargo.toml
4 @@ -28,45 +28,45 @@ optional = true
5 default-features = false
6
7 [dependencies.bytes]
8 -version = "0.5"
9 +version = "0.4"
10 optional = true
11 default-features = false
12
13 -[dependencies.diesel]
14 -version = "1.4"
15 -features = ["postgres"]
16 -optional = true
17 -default-features = false
18 +#[dependencies.diesel]
19 +#version = "1.4"
20 +#features = ["postgres"]
21 +#optional = true
22 +#default-features = false
23
24 [dependencies.num-traits]
25 version = "0.2"
26 default-features = false
27
28 -[dependencies.postgres]
29 -version = "0.17"
30 -optional = true
31 -default-features = false
32 +#[dependencies.postgres]
33 +#version = "0.17"
34 +#optional = true
35 +#default-features = false
36
37 [dependencies.serde]
38 version = "1.0"
39 optional = true
40 default-features = false
41
42 -[dependencies.tokio-postgres]
43 -version = "0.5"
44 -optional = true
45 -default-features = false
46 -[dev-dependencies.bincode]
47 -version = "1.3"
48 +#[dependencies.tokio-postgres]
49 +#version = "0.5"
50 +#optional = true
51 +#default-features = false
52 +#[dev-dependencies.bincode]
53 +#version = "1.3"
54
55 -[dev-dependencies.bytes]
56 -version = "0.5"
57 +#[dev-dependencies.bytes]
58 +#version = "0.4"
59
60 -[dev-dependencies.futures]
61 -version = "0.3"
62 +#[dev-dependencies.futures]
63 +#version = "0.3"
64
65 -[dev-dependencies.rand]
66 -version = "0.7"
67 +#[dev-dependencies.rand]
68 +#version = "0.7"
69
70 [dev-dependencies.serde_derive]
71 version = "1.0"
72 @@ -74,16 +74,16 @@ version = "1.0"
73 [dev-dependencies.serde_json]
74 version = "1.0"
75
76 -[dev-dependencies.tokio]
77 -version = "0.2"
78 -features = ["rt-threaded", "test-util", "macros"]
79 +#[dev-dependencies.tokio]
80 +#version = "0.2"
81 +#features = ["rt-threaded", "test-util", "macros"]
82
83 [features]
84 -db-diesel-postgres = ["diesel", "std"]
85 -db-postgres = ["byteorder", "bytes", "postgres", "std"]
86 -db-tokio-postgres = ["byteorder", "bytes", "postgres", "std", "tokio-postgres"]
87 +#db-diesel-postgres = ["diesel", "std"]
88 +#db-postgres = ["byteorder", "bytes", "postgres", "std"]
89 +#db-tokio-postgres = ["byteorder", "bytes", "postgres", "std", "tokio-postgres"]
90 default = ["serde", "std"]
91 serde-bincode = ["serde"]
92 serde-float = ["serde"]
93 std = []
94 -tokio-pg = ["db-tokio-postgres"]
95 +#tokio-pg = ["db-tokio-postgres"]