[package] name = "tari_utilities" description = "A set of useful and commonly used utilities that are used in several places in the Tari project." authors = ["The Tari Development Community"] repository = "https://github.com/tari-project/tari" homepage = "https://tari.com" readme = "README.md" license = "BSD-3-Clause" version = "0.8.0" edition = "2021" [dependencies] base58-monero = { version = "2.0", default-features = false,optional = true} base64 = { version = "0.13", default-features = false, optional = true, features = ["alloc"] } bincode = { version = "1.3", default-features = false, optional = true } newtype-ops = { version = "0.1", default-features = false, optional = true } borsh = { version = "1.5", optional = true, features = ["derive"] } generic-array = { version = "0.14", default-features = false } serde = { version = "1.0", optional = true, default-features = false, features = ["derive"] } serde_json = { version = "1.0", default-features = false, optional = true, features = ["std"] } snafu = { version="0.7", default-features = false } zeroize = { version ="1.3", default-features = false, features = ["alloc", "zeroize_derive"] } subtle = { version = "2.4", default-features = false } [dev-dependencies] rand_core = { version = "0.6", default-features = false, features = ["getrandom"] } clap = { version = "4.5", default-features = false, features = ["derive", "env", "std"] } [features] default = ["serialize", "std"] std = ["base58-monero", "newtype-ops"] serialize = ["serde", "serde_json", "bincode", "base64", "newtype-ops"] borsh = ["dep:borsh"]