Bump version of rust_decimal and add more functions.

This commit is contained in:
Stephen Chung
2021-05-11 20:31:31 +08:00
parent 97c8194d17
commit be052b2b26
6 changed files with 76 additions and 28 deletions

View File

@@ -32,7 +32,7 @@ no_float = [] # no floating-point
f32_float = [] # set FLOAT=f32
only_i32 = [] # set INT=i32 (useful for 32-bit systems)
only_i64 = [] # set INT=i64 (default) and disable support for all other integer types
decimal = ["rust_decimal"] # add the Decimal number type
decimal = ["rust_decimal/std"] # add the Decimal number type
no_index = [] # no arrays and indexing
no_object = [] # no custom objects
no_function = ["no_closure"] # no script-defined functions (meaning no closures)
@@ -92,8 +92,9 @@ default_features = false
optional = true
[dependencies.rust_decimal]
version = "1.11"
version = "1.13"
default_features = false
features = ["maths"]
optional = true
[target.'cfg(target_arch = "wasm32")'.dependencies]