forked from DAOcommunity/clarity-repl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
68 lines (59 loc) · 1.96 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "clarity-repl"
description = "Clarity REPL"
version = "0.11.0"
authors = ["Ludo Galabru <[email protected]>"]
readme = "README.md"
edition = "2018"
license = "GPL-3.0-only"
keywords = ["blockstack", "blockchain", "clarity", "smart-contract", "repl"]
exclude = ["vs-client/**"]
homepage = "https://lgalabru.github.io/clarity-repl/"
repository = "https://github.com/lgalabru/clarity-repl"
categories = ["command-line-utilities", "development-tools", "development-tools::build-utils"]
[dependencies]
ansi_term = "0.12.1"
lazy_static = "1.4.0"
regex = "1.3.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0.47", features = ["arbitrary_precision", "unbounded_depth"] }
sha2 = "0.9.3"
sha3 = "0.9.1"
serde_derive = "1.0"
ripemd160 = "0.9.1"
integer-sqrt = "0.1.3"
libsecp256k1 = "0.3.5"
serde_stacker = "0.1"
rand = "=0.7.3"
atty = "0.2.14"
tokio = { version = "1.6.0", features = ["rt", "rt-multi-thread"], optional = true }
# CLI
pico-args = { version = "0.4.0", optional = true }
rustyline = { version = "7.1.0", optional = true }
prettytable-rs = { version = "0.8.0", optional = true }
reqwest = { version = "0.11", features = ["json", "rustls"], optional = true }
# WASM
wasm-bindgen = { version = "0.2", optional = true }
wasm-bindgen-futures = { version = "0.4.24", optional = true }
reqwest-wasm = { version = "0.11", features = ["json"], optional = true }
[lib]
name = "clarity_repl"
path = "src/lib.rs"
# Default type
# crate-type = ["lib"]
# Use this instead for WASM builds
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "clarity-repl"
path = "src/bin.rs"
[features]
default = ["cli"]
cli = ["pico-args", "rustyline", "prettytable-rs", "reqwest", "tokio"]
wasm = ["wasm-bindgen", "reqwest-wasm", "wasm-bindgen-futures"]
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
[package.metadata.wasm-pack.profile.release.wasm-bindgen]
debug-js-glue = false
demangle-name-section = true
dwarf-debug-info = false