-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
47 lines (42 loc) · 1.28 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
[package]
name = "icp-perun"
version = "0.2.0"
authors = ["PolyCrypt GmbH <info@polycry.pt>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://polycry.pt/"
keywords = ["blockchain", "icp", "channels", "perun"]
description = "Dfinity ICP Canister for Perun Payment Channels"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
# https://github.com/rust-lang/cargo/issues/4881
crate-type = ["cdylib"]
name = "icp_perun"
[dependencies]
ic-cdk = "0.5"
ic-cdk-macros = "^0.5.1"
ic-ledger-types = { git = "https://github.com/dfinity/cdk-rs", branch = "main" }
candid = "0.7.8"
ed25519-dalek = "1.0.1"
digest = "0.9.0"
hex = "0.4.3"
serde = { version = "1.0.130", features = ["derive"] }
serde_bytes = "0.11"
async-trait = "0"
lazy_static = "1"
[target.'cfg(not(target_family = "wasm"))'.dependencies]
# PRNG in tests and examples
oorandom = "11.1.3"
[dev-dependencies]
assert = "0.0.4"
ic-agent = "0.10.0"
# Needed for ic_agent identity creation.
ring = { version = "0.16.11", features = ["std"] }
# Needed for ic_agent event waiting.
garcon = { version = "0.2", features = ["async"] }
# Needed for ic_agent async functions.
tokio = { version = "1.8.1", features = ["full"] }
# logger interface
log = "0.4.14"
# logger impl
pretty_env_logger = "0.4.0"