Skip to content

Commit

Permalink
Add DID Resolver crate
Browse files Browse the repository at this point in the history
  • Loading branch information
clehner committed Sep 22, 2020
1 parent b2ea30a commit 6fca161
Show file tree
Hide file tree
Showing 5 changed files with 638 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Build
- name: Build ssi
run: cargo build --verbose

- name: Test
- name: Test ssi
run: cargo test --verbose

- name: Test vc-test-suite
Expand All @@ -31,3 +31,13 @@ jobs:
npm i
cp ../ssi/src/bin/ssi-vc-test/config.json .
npm test
- name: Build did-resolve
run: |
cd did-resolve
cargo build --verbose
- name: Test did-resolve
run: |
cd did-resolve
cargo test --verbose
2 changes: 2 additions & 0 deletions did-resolve/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
Cargo.lock
22 changes: 22 additions & 0 deletions did-resolve/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "ssi-did-resolve"
version = "0.1.0"
authors = ["Charles E. Lehner <[email protected]>"]
edition = "2018"

[dependencies]
ssi = "0.1"
chrono = { version = "0.4", features = ["serde"] }
tokio = { version = "0.2", features = ["macros", "stream"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bytes = "0.5"
hyper = "0.13"
hyper-tls = "0.4"
http = "0.2"
async-trait = "0.1"
percent-encoding = "2.1"
serde_urlencoded = "0.7"

[patch.crates-io]
ssi = { path = "../" }
Loading

0 comments on commit 6fca161

Please sign in to comment.