forked from xJonathanLEI/starknet-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (39 loc) · 1.67 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "starknet-core"
version = "0.7.0"
authors = ["Jonathan LEI <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
readme = "README.md"
repository = "https://github.com/xJonathanLEI/starknet-rs"
homepage = "https://starknet.rs/"
description = """
Core structures for the starknet crate
"""
keywords = ["ethereum", "starknet", "web3"]
exclude = ["test-data/**"]
[package.metadata.docs.rs]
all-features = true
[dependencies]
starknet-crypto = { version = "0.6.1", path = "../starknet-crypto", default-features = false, features = ["alloc"] }
starknet-ff = { version = "0.3.4", path = "../starknet-ff", default-features = false, features = ["serde"] }
base64 = { version = "0.21.0", default-features = false, features = ["alloc"] }
flate2 = { version = "1.0.25", optional = true }
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
serde = { version = "1.0.160", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.96", default-features = false, features = ["alloc", "raw_value"] }
serde_json_pythonic = { version = "0.1.2", default-features = false, features = ["alloc", "raw_value"] }
serde_with = { version = "2.3.2", default-features = false, features = ["alloc", "macros"] }
sha3 = { version = "0.10.7", default-features = false }
[dev-dependencies]
criterion = { version = "0.4.0", default-features = false }
starknet-core = { path = ".", features = ["no_unknown_fields"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3.34"
[features]
default = ["std"]
std = ["dep:flate2", "starknet-ff/std", "starknet-crypto/std"]
no_unknown_fields = []
[[bench]]
name = "class_hash"
harness = false