[package] name = "arithmetic" version = "2.1.2" authors = ["Parity Technologies ", "Tetcoin Developers "] edition = "2018" license = "Apache-2.0" keywords = ["tetcoin", "tetcore", "crypto", "blockchain", "framework"] categories = ["cryptography::cryptocurrencies"] homepage = "https://core.tetcoin.org" repository = "https://github.com/tetcoin/tetcore" description = "Minimal fixed point arithmetic primitives and types for tetcore runtime." documentation = "https://docs.rs/arithmetic" readme = "README.md" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "tetsy-scale-codec", version = "2.0.1", default-features = false, features = ["derive"] } integer-sqrt = "0.1.2" num-traits = { version = "0.2.8", default-features = false } tetcore-std = { version = "2.1.2", default-features = false, path = "../std" } serde = { version = "1.0.101", optional = true, features = ["derive"] } debug-derive = { version = "2.1.2", default-features = false, path = "../debug-derive" } [dev-dependencies] rand = "0.7.2" criterion = "0.3" serde_json = "1.0" tetsy-primitive-types = "0.9.1" [features] default = ["std"] std = [ "codec/std", "num-traits/std", "tetcore-std/std", "serde", "debug-derive/std", ] [[bench]] name = "bench" harness = false