mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 10:01:02 +00:00
Introduce Fixed128 from ORML to sp_arithmetic (#5614)
* add fixed128 * fix build * re-export * fix test * saturating_pow * Update primitives/arithmetic/src/fixed128.rs Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
@@ -17,11 +17,12 @@ num-traits = { version = "0.2.8", default-features = false }
|
||||
sp-std = { version = "2.0.0-alpha.5", default-features = false, path = "../std" }
|
||||
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
||||
sp-debug-derive = { version = "2.0.0-alpha.5", default-features = false, path = "../../primitives/debug-derive" }
|
||||
primitive-types = { version = "0.7.0", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
primitive-types = "0.7.0"
|
||||
rand = "0.7.2"
|
||||
criterion = "0.3"
|
||||
serde_json = "1.0"
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -31,6 +32,7 @@ std = [
|
||||
"sp-std/std",
|
||||
"serde",
|
||||
"sp-debug-derive/std",
|
||||
"primitive-types/std",
|
||||
]
|
||||
|
||||
[[bench]]
|
||||
|
||||
Reference in New Issue
Block a user