[package]
name = "shards"
description = "rust bindings and utility in order to use shards"
license = "BSD-3-Clause"
version = "0.1.0"
authors = ["Giovanni Petrantoni <sinkingsugar@gmail.com>"]
edition = "2021"
[lib]
crate-type = ["rlib", "staticlib"]
[dependencies]
approx = "0.5.0"
lazy_static = "1.4.0"
compile-time-crc32 = "0.1.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0.64" }
tiny-keccak = { version = "2.0.2", features = ["keccak", "sha3"], optional = true }
libsecp256k1 = { version = "0.7.0", optional = true }
hex = { version = "0.4.2", optional = true }
crossbeam = { version = "0.8.1", optional = true }
rapier3d = { version = "0.11.1", optional = true }
bs58 = { version = "0.4.0", optional = true }
sha2 = { version = "0.10.0", optional = true }
wasabi_leb128 = { version = "0.4.0", optional = true }
resvg = { version = "0.23.0", optional = true }
usvg = { version = "0.23.0", optional = true }
tiny-skia = { version = "0.6.1", optional = true }
instant = { version = "0.1.10", features = [ "now" ] }
ethereum-types = { version = "0.13.1", optional = true }
ethabi = { version = "17.0.0", optional = true }
ext-csv = { package = "csv", version = "1.1", optional = true }
sp-core = { version = "6.0.0", default-features = false, git = "https://github.com/paritytech/substrate.git", tag = 'monthly-2022-06', features = ["full_crypto"], optional = true }
sp-runtime = { version = "6.0.0", git = "https://github.com/paritytech/substrate.git", tag = 'monthly-2022-06', optional = true }
parity-scale-codec = { version = "3.0.0", default-features = false, optional = true }
chacha20poly1305 = { version = "0.9.0", optional = true }
serenity = { version = "0.11.0", optional = true }
[target.'cfg(not(target_arch="wasm32"))'.dependencies]
dlopen = { version = "0.1.8", optional = true }
reqwest = { version = "0.11.0", features = ["blocking"], optional = true }
[target.'cfg(not(any(target_arch="wasm32", target_os="ios")))'.dependencies]
webbrowser = { version = "0.7.1", optional = true }
[dev-dependencies]
ctor = "0.1.16"
[build-dependencies]
bindgen = { version = "0.60.1", optional = true }
[features]
default = []
dummy = []
shards = ["reqwest",
"tiny-keccak",
"libsecp256k1",
"hex",
"rapier3d",
"crossbeam",
"webbrowser",
"bs58",
"sha2",
"wasabi_leb128",
"usvg",
"resvg",
"tiny-skia",
"ethabi",
"ethereum-types",
"ext-csv",
"sp-core",
"sp-runtime",
"parity-scale-codec",
"chacha20poly1305"]
dllshard = ["dlopen"]
run_bindgen = ["bindgen"]
scripting = []
shards_discord = ["serenity"]
[profile.release]
panic = "abort"