forked from Finschia/wasmvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
56 lines (48 loc) · 1.53 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
[package]
name = "wasmvm"
version = "0.14.0-0.8.0"
publish = false
authors = ["LINE Plus Corporation"]
edition = "2018"
description = "Go bindings for cosmwasm contracts"
repository = "https://github.com/line/wasmvm"
license = "Apache-2.0"
readme = "README.md"
exclude = [".circleci/*", ".gitignore"]
[lib]
crate-type = ["cdylib"]
# the example is to allow us to compile a static lib with the same codebase as we compile the
# normal dynamic libs (best workaround I could find to override crate-type on the command line)
[[example]]
name = "staticlib"
path = "src/lib.rs"
crate-type = ["staticlib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[badges]
maintenance = { status = "actively-developed" }
[features]
default = []
# This feature requires Rust nightly because it depends on the unstable backtrace feature.
backtraces = []
[dependencies]
cosmwasm-std = { git = "https://github.com/line/cosmwasm", tag = "v0.14.0-0.4.0", features = ["iterator","staking","stargate"] }
cosmwasm-vm = { git = "https://github.com/line/cosmwasm", tag = "v0.14.0-0.4.0", features = ["iterator","staking","stargate"] }
errno = "0.2"
serde_json = "1.0"
thiserror = "1.0"
hex = "0.4"
[dev-dependencies]
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
tempfile = "3.1.0"
[build-dependencies]
cbindgen = "0.18.0"
[profile.release]
opt-level = 3
debug = false
rpath = true
lto = false
debug-assertions = false
codegen-units = 16
panic = 'unwind'
incremental = true
overflow-checks = true