@@ -19,39 +19,39 @@ all-features = true
1919rustdoc-args = [" --cfg" , " docsrs" ]
2020
2121[dependencies ]
22- arbitrary = { default-features = false , optional = true , version = " 1.0 " }
22+ arbitrary = { default-features = false , optional = true , version = " 1" }
2323arrayvec = { default-features = false , version = " 0.7" }
24- borsh = { default-features = false , features = [" derive" , " unstable__schema" ], optional = true , version = " 1.1.1 " }
25- bytes = { default-features = false , optional = true , version = " 1.0 " }
26- diesel = { default-features = false , optional = true , version = " 2.2.3 " }
27- ndarray = { default-features = false , optional = true , version = " 0.15.6 " }
28- num-traits = { default-features = false , features = [" i128" ], version = " 0.2" }
29- postgres-types = { default-features = false , optional = true , version = " 0.2" }
24+ borsh = { default-features = false , features = [" derive" , " unstable__schema" ], optional = true , version = " 1" }
25+ bytes = { default-features = false , optional = true , version = " 1" }
26+ diesel = { default-features = false , optional = true , version = " 2" }
27+ ndarray-0_16 = { default-features = false , optional = true , package = " ndarray " , version = " 0.16 " }
28+ num-traits = { default-features = false , features = [" i128" ], package = " num-traits " , version = " 0.2" }
29+ postgres-types = { default-features = false , optional = true , package = " postgres-types " , version = " 0.2" }
3030proptest = { default-features = false , optional = true , features = [" std" ], version = " 1.0" }
3131rand-0_9 = { default-features = false , optional = true , package = " rand" , version = " 0.9" }
32+ rocket = { default-features = false , optional = true , version = " 0.5" }
3233rust_decimal_macros = { path = " macros" , default-features = false , optional = true , version = " 1" }
33- rkyv = { default-features = false , features = [" size_32" , " std" ], optional = true , version = " 0.7.42" }
34- rocket = { default-features = false , optional = true , version = " 0.5.0-rc.3" }
35- serde = { default-features = false , optional = true , version = " 1.0" }
36- serde_json = { default-features = false , optional = true , version = " 1.0" }
37- tokio-postgres = { default-features = false , optional = true , version = " 0.7" }
34+ serde = { default-features = false , optional = true , version = " 1" }
35+ serde_json = { default-features = false , optional = true , version = " 1" }
3836
3937[dev-dependencies ]
40- bincode = { default-features = false , version = " 1.0 " }
41- bytes = { default-features = false , version = " 1.0 " }
38+ bincode = { default-features = false , version = " 1" }
39+ bytes = { default-features = false , version = " 1" }
4240criterion = { default-features = false , version = " 0.5" }
4341csv = " 1"
44- diesel = { default-features = false , features = [" mysql" , " postgres" ], version = " 2.2.3 " }
42+ diesel = { default-features = false , features = [" mysql" , " postgres" ], version = " 2" }
4543futures = { default-features = false , version = " 0.3" }
44+ postgres = { default-features = false , version = " 0.19" }
4645rand-0_9 = { default-features = false , features = [" thread_rng" ], package = " rand" , version = " 0.9" }
4746rkyv-0_8 = { version = " 0.8" , package = " rkyv" }
48- rust_decimal_macros = { path = " macros" }
4947serde = { default-features = false , features = [" derive" ], version = " 1.0" }
5048serde_json = " 1.0"
51- tokio = { default-features = false , features = [" macros" , " rt-multi-thread" , " test-util" ], version = " 1.0" }
52- version-sync = { default-features = false , features = [" html_root_url_updated" , " markdown_deps_updated" ], version = " 0.9" }
53- postgres = { default-features = false , version = " 0.19" }
49+ tokio = { default-features = false , features = [" macros" , " rt-multi-thread" , " test-util" ], version = " 1" }
5450tokio-postgres = { default-features = false , version = " 0.7" }
51+ version-sync = { default-features = false , features = [" html_root_url_updated" , " markdown_deps_updated" ], version = " 0.9" }
52+
53+ # Enable features for testing
54+ rust_decimal = { path = " ." , features = [" rand-0_9" , " macros" , " rocket-0_5-traits" ] }
5555
5656[features ]
5757default = [" serde" , " std" ]
@@ -67,12 +67,10 @@ db-tokio-postgres = ["dep:bytes", "dep:postgres-types", "std"]
6767macros = [" dep:rust_decimal_macros" ]
6868maths = []
6969maths-nopanic = [" maths" ]
70- ndarray = [" dep:ndarray" ]
70+ ndarray-0_16 = [" dep:ndarray-0_16 " ]
7171proptest = [" dep:proptest" ]
7272rand-0_9 = [" dep:rand-0_9" ]
73- rkyv = [" dep:rkyv" ]
74- rkyv-safe = [" rkyv/validation" ]
75- rocket-traits = [" dep:rocket" , " std" ]
73+ rocket-0_5-traits = [" dep:rocket" , " std" ]
7674rust-fuzz = [" dep:arbitrary" ]
7775serde = [" dep:serde" ]
7876serde-arbitrary-precision = [" serde-with-arbitrary-precision" ]
@@ -82,7 +80,7 @@ serde-str = ["serde-with-str"]
8280serde-with-arbitrary-precision = [" serde" , " serde_json/arbitrary_precision" , " serde_json/std" ]
8381serde-with-float = [" serde" ]
8482serde-with-str = [" serde" ]
85- std = [" arrayvec/std" , " borsh?/std" , " bytes?/std" , " rand-0_9?/std" , " rkyv?/std " , " serde?/std" , " serde_json?/std" ]
83+ std = [" arrayvec/std" , " borsh?/std" , " bytes?/std" , " rand-0_9?/std" , " serde?/std" , " serde_json?/std" ]
8684tokio-pg = [" db-tokio-postgres" ] # Backwards compatability
8785
8886[[bench ]]
0 commit comments