Skip to content

Commit

Permalink
Use Workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
clehner committed Sep 28, 2020
1 parent 593651d commit c96c9f7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 20 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
steps:
- uses: actions/checkout@v2

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

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

- name: Test vc-test-suite
run: |
Expand All @@ -31,13 +31,3 @@ 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
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ derive_builder = "0.9"
base64 = "0.12"
jsonwebtoken = "7"
ring = "0.16"

[workspace]
members = [
"did-resolve",
]
2 changes: 0 additions & 2 deletions did-resolve/.gitignore

This file was deleted.

5 changes: 1 addition & 4 deletions did-resolve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Charles E. Lehner <[email protected]>"]
edition = "2018"

[dependencies]
ssi = "0.1"
ssi = { path = "../" }
chrono = { version = "0.4", features = ["serde"] }
tokio = { version = "0.2", features = ["macros", "stream"] }
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -17,6 +17,3 @@ http = "0.2"
async-trait = "0.1"
percent-encoding = "2.1"
serde_urlencoded = "0.7"

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

0 comments on commit c96c9f7

Please sign in to comment.