Cargo.toml 1.21 KB
Newer Older
Ricardo Rius's avatar
Ricardo Rius committed
1 2
[package]
name = "erc721"
Hero Bird's avatar
Hero Bird committed
3
version = "2.1.0"
Ricardo Rius's avatar
Ricardo Rius committed
4 5 6 7
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
Hero Bird's avatar
Hero Bird committed
8 9 10 11
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.1.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
Ricardo Rius's avatar
Ricardo Rius committed
12

13
scale = { package = "parity-scale-codec", version = "1.3", default-features = false, features = ["derive"] }
Andrew Jones's avatar
Andrew Jones committed
14
scale-info = { version = "0.1", default-features = false, features = ["derive"], optional = true }
Ricardo Rius's avatar
Ricardo Rius committed
15 16 17

[lib]
name = "erc721"
18
path = "lib.rs"
Ricardo Rius's avatar
Ricardo Rius committed
19 20 21 22 23 24 25 26
crate-type = [
	# Used for normal contract Wasm blobs.
	"cdylib",
	# Used for ABI generation.
	"rlib",
]

[features]
27
default = ["std"]
Ricardo Rius's avatar
Ricardo Rius committed
28 29
std = [
    "ink_primitives/std",
30
    "ink_abi",
Ricardo Rius's avatar
Ricardo Rius committed
31 32
    "ink_abi/std",
    "ink_core/std",
33
    "ink_lang/std",
Ricardo Rius's avatar
Ricardo Rius committed
34
    "scale/std",
Andrew Jones's avatar
Andrew Jones committed
35
    "scale-info",
36
    "scale-info/std",
Ricardo Rius's avatar
Ricardo Rius committed
37 38 39 40 41 42 43 44
]
ink-as-dependency = []

[profile.release]
panic = "abort"
lto = true
opt-level = "z"
overflow-checks = true
45
codegen-units = 1
Ricardo Rius's avatar
Ricardo Rius committed
46 47 48 49 50 51 52 53

[workspace]
members = [
	".ink/abi_gen"
]
exclude = [
	".ink"
]