Skip to content

Commit

Permalink
Merge pull request #34 from holochain/remove-sdk
Browse files Browse the repository at this point in the history
Remove sdk and types crates
  • Loading branch information
mjbrisebois authored Aug 21, 2024
2 parents 4e7e403 + dff74f8 commit eb74c28
Show file tree
Hide file tree
Showing 12 changed files with 103 additions and 457 deletions.
271 changes: 98 additions & 173 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 3 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,14 @@ opt-level = "z"

[workspace]
resolver = "2"
members = [
"crates/holochain_deepkey_dna",
"dnas/deepkey/sdk",
"dnas/deepkey/types",
"zomes/*",
]
members = ["crates/holochain_deepkey_dna", "zomes/*"]

[workspace.dependencies]
serde = "1"
rmp-serde = "1"
serde_bytes = "0.11"
hc_deepkey_types = { version = "0.8.0-dev.2", path = "dnas/deepkey/types" }
hc_deepkey_sdk = { version = "0.7.0-dev.2", path = "dnas/deepkey/sdk" }
hc_deepkey_types = { version = "0.8.0-dev.2" }
hc_deepkey_sdk = { version = "0.7.0-dev.2" }
holo_hash = { version = "=0.4.0-dev.9", features = ["hashing", "encoding"] }
holochain_integrity_types = { version = "=0.4.0-dev.10" }
hdi = { version = "=0.5.0-dev.10" }
Expand All @@ -33,4 +28,3 @@ path = "zomes/deepkey"

[workspace.dependencies.deepkey_csr]
path = "zomes/deepkey_csr"

4 changes: 1 addition & 3 deletions crates/holochain_deepkey_dna/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "holochain_deepkey_dna"
version = "0.0.7-dev.1"
version = "0.0.8-dev.1"
edition = "2021"
authors = ["Michael dougherty <michael.dougherty@holo.host>"]
license = "CAL-1.0"
Expand All @@ -14,7 +14,5 @@ name = "holochain_deepkey_dna"
path = "src/lib.rs"

[dependencies]
hc_deepkey_sdk = { version = "0.7.0-dev.2", path = "../../dnas/deepkey/sdk" }

[features]
fuzzing = ["hc_deepkey_sdk/fuzzing"]
6 changes: 0 additions & 6 deletions crates/holochain_deepkey_dna/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,3 @@
/// Get the hard-coded Deepkey DNA provided by this crate.
/// This can be decoded with `holochain_types::DnaBundle::decode()`
pub const DEEPKEY_DNA_BUNDLE_BYTES: &[u8] = include_bytes!("deepkey.dna");

pub mod types {
pub use deepkey_sdk::*;
}

pub use deepkey_sdk::hdk;
11 changes: 0 additions & 11 deletions dnas/deepkey/sdk/README.md

This file was deleted.

127 changes: 0 additions & 127 deletions dnas/deepkey/sdk/src/lib.rs

This file was deleted.

11 changes: 0 additions & 11 deletions dnas/deepkey/types/README.md

This file was deleted.

28 changes: 0 additions & 28 deletions dnas/deepkey/types/src/authority_spec.rs

This file was deleted.

32 changes: 0 additions & 32 deletions dnas/deepkey/types/src/authorized_spec_change.rs

This file was deleted.

32 changes: 0 additions & 32 deletions dnas/deepkey/types/src/keyset_root.rs

This file was deleted.

24 changes: 0 additions & 24 deletions dnas/deepkey/types/src/lib.rs

This file was deleted.

2 changes: 1 addition & 1 deletion zomes/deepkey/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ holo_hash = { workspace = true }
rmp-serde = { workspace = true }
serde = { workspace = true }
serde_bytes = { workspace = true }
thiserror = "1.0.38"
thiserror = "1.0"
whi_hdi_extensions = { workspace = true }

0 comments on commit eb74c28

Please sign in to comment.