Skip to content

Commit

Permalink
Add mc_core package with new no_std compatible key / account types …
Browse files Browse the repository at this point in the history
…and logic (#2525)

* add mc_core, first steps towards no_std/alloc free improved types for keys etc.

Co-authored-by: Nick Santana <nick@mobilecoin.com>

* Fix anyhow version

* attempt to fix lock conflict

* revert unrelated lock changes

* sort core cargo.toml

Co-authored-by: Nick Santana <nick@mobilecoin.com>
Co-authored-by: James Cape <james@mobilecoin.com>
  • Loading branch information
3 people committed Nov 1, 2022
1 parent 68c6b1a commit 258d98c
Show file tree
Hide file tree
Showing 43 changed files with 1,708 additions and 932 deletions.
62 changes: 41 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ cargo-features = ["named-profiles"]
[workspace]
members = [
"account-keys",
"account-keys/slip10",
"account-keys/types",
"admin-http-gateway",
"api",
Expand Down Expand Up @@ -34,6 +33,8 @@ members = [
"consensus/service",
"consensus/service/config",
"consensus/tool",
"core",
"core/types",
"crypto/box",
"crypto/digestible",
"crypto/digestible/derive/test",
Expand Down
5 changes: 3 additions & 2 deletions account-keys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ zeroize = { version = "1", default-features = false }

# MobileCoin dependencies
mc-account-keys-types = { path = "types" }
mc-core = { path = "../core", default_features = false }
mc-crypto-digestible = { path = "../crypto/digestible" }
mc-crypto-hashes = { path = "../crypto/hashes" }
mc-crypto-keys = { path = "../crypto/keys", default-features = false }
mc-crypto-keys = { path = "../crypto/keys", default-features = false, features = ["prost"] }
mc-fog-sig-authority = { path = "../fog/sig/authority" }
mc-util-from-random = { path = "../util/from-random" }
mc-util-repr-bytes = { path = "../util/repr-bytes", default-features = false, features = ["alloc"] }
mc-util-repr-bytes = { path = "../util/repr-bytes", default-features = false, features = ["alloc", "prost"] }
mc-util-serial = { path = "../util/serial" }

[target.'cfg(any(target_feature = "avx2", target_feature = "avx"))'.dependencies]
Expand Down
29 changes: 0 additions & 29 deletions account-keys/slip10/Cargo.toml

This file was deleted.

5 changes: 0 additions & 5 deletions account-keys/slip10/README.md

This file was deleted.

25 changes: 0 additions & 25 deletions account-keys/slip10/examples/make-random-key.rs

This file was deleted.

32 changes: 0 additions & 32 deletions account-keys/slip10/examples/pubkey-from-mnemonic.rs

This file was deleted.

Loading

0 comments on commit 258d98c

Please sign in to comment.