Skip to content

Commit

Permalink
Fix cargo build (#390)
Browse files Browse the repository at this point in the history
- Remove http workspace member
- Remove path dependencies

Close #389
  • Loading branch information
laysakura authored Sep 26, 2024
1 parent 92ac2a6 commit e31da34
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace]
members = ["cli", "lib", "lib/cbindings", "lib/web"]

default-members = ["http", "cli", "lib", "lib/cbindings"]
default-members = ["cli", "lib", "lib/cbindings"]

# $ cargo release
[workspace.metadata.release]
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ process is in place.

DIDKit is written in [Rust][]. To get Rust, you can use [Rustup][].

Spruce's [ssi][] library must be cloned alongside the `didkit` repository:
```sh
$ git clone https://github.com/spruceid/ssi ../ssi --recurse-submodules
```

Build DIDKit using [Cargo][]:
```sh
$ cargo build
Expand Down
21 changes: 10 additions & 11 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,16 @@ http-did = ["ssi/http-did"]
ring = ["ssi/ring"]

[dependencies]
ssi = { version = "0.7.0", path = "../../ssi", default-features = false }
did-method-key = { version = "0.2.0", path = "../../ssi/did-key", default-features = false }
did-tz = { version = "0.2.0", path = "../../ssi/did-tezos" }
did-ethr = { version = "0.2", path = "../../ssi/did-ethr", default-features = false }
did-pkh = { version = "0.2", path = "../../ssi/did-pkh" }
#did-sol = { version = "0.0.1", path = "../../ssi/did-sol" }
did-web = { version = "0.2.0", path = "../../ssi/did-web", default-features = false }
did-webkey = { version = "0.2", path = "../../ssi/did-webkey", default-features = false }
did-onion = { version = "0.2.0", path = "../../ssi/did-onion", default-features = false }
did-ion = { version = "0.2.0", path = "../../ssi/did-ion", default-features = false }
did-jwk = { version = "^0.1.0", path = "../../ssi/did-jwk", default-features = false }
ssi = { version = "0.7.0", default-features = false }
did-method-key = { version = "0.2.0", default-features = false }
did-tz = "0.2.0"
did-ethr = { version = "0.2", default-features = false }
did-pkh = "0.2"
did-web = { version = "0.2.0", default-features = false }
did-webkey = { version = "0.2", default-features = false }
did-onion = { version = "0.2.0", default-features = false }
did-ion = { version = "0.2.0", default-features = false }
did-jwk = { version = "^0.1.0", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# TODO feature-gate JNI, or extract it in another crate like we do for Python (and probably WASM as well)
Expand Down

0 comments on commit e31da34

Please sign in to comment.