Skip to content

Commit

Permalink
Organize and consolidate crates (#44)
Browse files Browse the repository at this point in the history
* Delete empty crates

* Bring common back to core

* Unify errors/Fix tests

* Move DID to submodule

* Move VC to identity_core

* Move object helpers to Object implementation

* Docs

* cleanup

* remove unused trait

* Use traits/Remove Subject DID-wrapper

* derive implements traits with bounds and those bounds don't always align with HasId

* Fix IdCompare diff stuff

* WIP context

* More Diff types. Closer to unified Context

* Fix crypto/proof crates

* Single Context for DID and VC

* clippy stawp

* Use `derive_builder` crate

* Remove vc-specific error

* Move resolver and integration to new structure (#45)

* add reader and writer traits with iota implementation

* fmt

* remove DIDExt trait

* make method public

* Update identity_core/Cargo.toml

* Update identity_iota/Cargo.toml

* address comments

* address more comments

* update method signatures

* tests

* Diff timestamp

* Housekeeping

* DID resolution with traits

* Refactor tangle services - Use identity_core traits

* disable examples

* make example working again

* fmt and clippy

* verify auth key did correlation

* Option implements Iterator - no need to redefine

* cleanup

* rustfmt/add convenience

* re-export core and update examples

* Clean up keys

* Builders

* Private fields

* Fix example

* clippy

* Fixes/clippy

* clippy

* Easier metadata

* Fix publish examples

* Resolution Refactor

* Fix identity_iota

* Add MemResolver example

* Move encoding utils to identity_core

* Jwk is an Object/Iota is not a key type

* Utilities for key access

* Move key-related types to top-level module

* Update tests

* Flexible metadata

* Convert identity_crypto errors

* DID Proof

* yep

* clippy

Co-authored-by: Thoralf-M <[email protected]>
Co-authored-by: Thoralf-M <[email protected]>
  • Loading branch information
3 people authored Oct 15, 2020
1 parent 3c51e42 commit 4d15ad9
Show file tree
Hide file tree
Showing 175 changed files with 4,901 additions and 3,357 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,12 @@ jobs:
matrix:
project:
[
identity_account,
identity_common,
identity_communication,
identity_core,
identity_crypto,
identity_integration,
identity_proof,
identity_resolver,
identity_schema,
identity_vc,
identity_derive,
identity_diff,
identity_iota,
identity_proof,
]
os: [ubuntu-latest, windows-latest]

Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,12 @@ jobs:
matrix:
project:
[
identity_account,
identity_common,
identity_communication,
identity_core,
identity_crypto,
identity_integration,
identity_proof,
identity_resolver,
identity_schema,
identity_vc,
identity_derive,
identity_diff,
identity_iota,
identity_proof,
]

steps:
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,12 @@ jobs:
matrix:
project:
[
identity_account,
identity_common,
identity_communication,
identity_core,
identity_crypto,
identity_integration,
identity_proof,
identity_resolver,
identity_schema,
identity_vc,
identity_derive,
identity_diff,
identity_iota,
identity_proof,
]

steps:
Expand Down
12 changes: 3 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
[workspace]
members = [
"identity_account",
"identity_communication",
"identity_resolver",
"identity_schema",
"identity_common",
"identity_core",
"identity_crypto",
"identity_integration",
"identity_proof",
"identity_vc",
"identity_derive",
"identity_diff",
"identity_derive"
"identity_iota",
"identity_proof",
]
15 changes: 0 additions & 15 deletions identity_account/Cargo.toml

This file was deleted.

7 changes: 0 additions & 7 deletions identity_account/src/lib.rs

This file was deleted.

18 changes: 0 additions & 18 deletions identity_common/Cargo.toml

This file was deleted.

11 changes: 0 additions & 11 deletions identity_common/src/error.rs

This file was deleted.

133 changes: 0 additions & 133 deletions identity_common/src/macros.rs

This file was deleted.

83 changes: 0 additions & 83 deletions identity_common/src/object.rs

This file was deleted.

Loading

0 comments on commit 4d15ad9

Please sign in to comment.