[package]
name = "datasize"
version = "0.2.2"
authors = ["Marc Brinkmann <marc@casperlabs.io>"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "A simplified heap memory size estimator"
documentation = "https://docs.rs/datasize"
repository = "https://github.com/casperlabs/datasize-rs"
[features]
default = ["std"]
fake_clock-types = ["fake_instant"]
futures-types = ["futures"]
smallvec-types = ["smallvec", "std"]
std = []
tokio-types = ["tokio"]
[dependencies]
datasize_derive = { version = "0.2.2" }
fake_instant = { version = "0.4.0", optional = true }
futures = { version = "0.3.5", optional = true }
tokio = { version = "0.2.22", default-features = false, optional = true, features = ["rt-core", "sync"] }
smallvec = { version = "1.4.2", optional = true }