diff --git a/Cargo.toml b/Cargo.toml index 2fc1bf9..152246f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ arrayvec = { version = "0.7", default-features = false, optional = true } bitcode_derive = { version = "0.6.3", path = "./bitcode_derive", optional = true } bytemuck = { version = "1.14", features = [ "min_const_generics", "must_cast" ] } glam = { version = ">=0.21", default-features = false, optional = true } -rust_decimal = { version = "1.36.0", default-features = false, optional = true } +rust_decimal = { version = "1.36", default-features = false, optional = true } serde = { version = "1.0", default-features = false, features = [ "alloc" ], optional = true } [dev-dependencies] @@ -49,4 +49,4 @@ features = [ "derive", "serde", "std" ] #lto = true [lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } \ No newline at end of file diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 10b7d56..4d189cf 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -23,4 +23,4 @@ members = ["."] name = "fuzz" path = "fuzz_targets/fuzz.rs" test = false -doc = false +doc = false \ No newline at end of file diff --git a/src/ext/rust_decimal.rs b/src/ext/rust_decimal.rs index 8788f47..58bc0ca 100644 --- a/src/ext/rust_decimal.rs +++ b/src/ext/rust_decimal.rs @@ -34,6 +34,7 @@ impl ConvertFrom for Decimal { impl Encode for Decimal { type Encoder = convert::ConvertIntoEncoder; } + impl<'a> Decode<'a> for Decimal { type Decoder = convert::ConvertFromDecoder<'a, DecimalConversion>; }