Skip to content

Commit

Permalink
proofchain w/ builder pattern + minor convert updates
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanlakhani committed Oct 28, 2022
1 parent 9ef2141 commit 3c19e8a
Show file tree
Hide file tree
Showing 10 changed files with 346 additions and 174 deletions.
8 changes: 4 additions & 4 deletions ucan-key-support/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ version = "0.7.0-alpha.1"
default = []

[dependencies]
ucan = {path = "../ucan", version = "0.7.0-alpha.1" }
anyhow = "1.0.52"
async-trait = "0.1.52"
bs58 = "0.4"
ed25519-zebra = "^3"
log = "0.4"
rsa = "0.6"
sha2 = "0.10"
bs58 = "0.4"
log = "0.4"
ucan = { path = "../ucan", version = "0.7.0-alpha.1" }

[build-dependencies]
npm_rs = "0.2.1"

[dev-dependencies]
rand = "~0.8"
# NOTE: This is needed so that rand can be included in WASM builds
getrandom = { version = "~0.2", features = ["js"] }
rand = "~0.8"
wasm-bindgen-test = "~0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
Expand Down
42 changes: 21 additions & 21 deletions ucan/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,33 @@ edition = "2021"
default = []

[dependencies]
cid = "~0.8"
anyhow = "^1"
async-trait = "~0.1"
async-recursion = "^1"
async-std = "^1"
serde_json = "^1"
serde = { version = "^1", features = ["derive"] }
base64 = "~0.13"
log = "~0.4"
url = "^2"
bs58 = "~0.4"
unsigned-varint = "~0.7"
libipld-core = { version = "~0.14", features = ["serde-codec", "serde"] }
libipld-json = "~0.14"
strum = "~0.24"
strum_macros = "~0.24"
anyhow = "1.0"
async-std = "1.0"
async-trait = "0.1"
base64 = "0.13"
bs58 = "0.4"
cid = "0.8"
futures = "0.3"
instant = { version = "0.1", features = ["wasm-bindgen", "stdweb"] }
rand = "~0.8"
libipld-core = { version = "0.14", features = ["serde-codec", "serde"] }
libipld-json = "0.14"
log = "0.4"
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
strum = "0.24"
strum_macros = "0.24"
unsigned-varint = "0.7"
url = "2.0"

[target.'cfg(target_arch = "wasm32")'.dependencies]
# NOTE: This is needed so that rand can be included in WASM builds
getrandom = { version = "~0.2", features = ["js"] }
getrandom = { version = "0.2", features = ["js"] }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "^1", features = ["macros", "test-util"] }
tokio = { version = "1.0", features = ["macros", "test-util"] }

[dev-dependencies]
did-key = "0.1"
serde_ipld_dagcbor = "~0.2"
wasm-bindgen-test = "~0.3"
serde_ipld_dagcbor = "0.2"
wasm-bindgen-test = "0.3"
Loading

0 comments on commit 3c19e8a

Please sign in to comment.