forked from iotaledger/streams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
65 lines (58 loc) · 2.13 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
#cargo-features = ["named-profiles"]
[package]
name = "iota-streams"
version = "1.0.0"
authors = ["Vlad Semenov <[email protected]>"]
edition = "2018"
license = "Apache-2.0/MIT"
readme = "README.md"
keywords = ["iota", "streams"]
description = "A rust implementation of the IOTA Streams"
autoexamples = false
[lib]
name = "iota_streams"
crate-type = ["staticlib", "cdylib", "rlib"]
[workspace]
members = [
"iota-streams-core",
"iota-streams-core-edsig",
"iota-streams-core-keccak",
"iota-streams-ddml",
"iota-streams-app",
"iota-streams-app-channels",
"iota-streams-app-channels-example",
"examples",
#"iota-streams-app-channels-js",
]
exclude = [
"bindings/c",
]
[features]
default = ["std", "tangle", "sync-client"]
# Enable `std` feature in dependencies
std = ["iota-streams-core/std", "iota-streams-core-edsig/std", "iota-streams-ddml/std", "iota-streams-app/std", "iota-streams-app-channels/std"]
async = ["iota-streams-app/async", "iota-streams-app-channels/async"]
tangle = ["iota-streams-app/tangle", "iota-streams-app-channels/tangle"]
sync-client = ["iota-streams-app/sync-client", "iota-streams-app-channels/sync-client"]
async-client = ["iota-streams-app/async-client", "iota-streams-app-channels/async-client"]
[dependencies]
iota-streams-core = { version = "0.3.0", path = "iota-streams-core", default-features = false }
iota-streams-core-keccak = { version = "0.3.0", path = "iota-streams-core-keccak", default-features = false }
iota-streams-core-edsig = { version = "0.2.0", path = "iota-streams-core-edsig", default-features = false }
iota-streams-ddml = { version = "0.2.2", path = "iota-streams-ddml", default-features = false }
iota-streams-app = { version = "1.0.0", path = "iota-streams-app", default-features = false }
iota-streams-app-channels = { version = "1.0.0", path = "iota-streams-app-channels", default-features = false }
#[profile.release-nostd]
#inherits = "release"
#opt-level = 's'
#debug = false
#rpath = false
#lto = true
#debug-assertions = false
#codegen-units = 1
#panic = "abort"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
lto = true
#panic = 'abort'