Skip to content

Commit cc6ff92

Browse files
committed
chore: reorganize types.
1 parent 8d5c2eb commit cc6ff92

File tree

9 files changed

+71
-0
lines changed

9 files changed

+71
-0
lines changed

Cargo.lock

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ members = [
2222
# util
2323
"util/movement/*",
2424
"util/movement-aptos/*",
25+
"util/types"
2526

2627
]
2728

@@ -118,6 +119,8 @@ aptos-config = { git = "https://github.com/movementlabsxyz/aptos-core.git", rev
118119
aptos-db-indexer = { git = "https://github.com/movementlabsxyz/aptos-core.git", rev = "cb3b7b02f68c7d6982257e4c59955d0e63b513db" }
119120
aptos-node = { git = "https://github.com/movementlabsxyz/aptos-core.git", rev = "cb3b7b02f68c7d6982257e4c59955d0e63b513db" }
120121
aptos-cached-packages = { git = "https://github.com/movementlabsxyz/aptos-core.git", rev = "cb3b7b02f68c7d6982257e4c59955d0e63b513db" }
122+
aptos-crypto = { git = "https://github.com/movementlabsxyz/aptos-core.git", rev = "cb3b7b02f68c7d6982257e4c59955d0e63b513db" }
123+
aptos-sdk = { git = "https://github.com/movementlabsxyz/aptos-core.git", rev = "cb3b7b02f68c7d6982257e4c59955d0e63b513db" }
121124

122125

123126
# secure-signing
@@ -186,6 +189,8 @@ movement-core = { path = "util/movement/movement-core" }
186189
movement-core-util = { path = "util/movement/movement-util" }
187190
movement-aptos = { path = "util/movement-aptos/movement-aptos" }
188191
movement-aptos-core = { path = "util/movement-aptos/movement-aptos-core" }
192+
movement-aptos-core-util = { path = "util/movement-aptos/movement-aptos-util" }
193+
mtma-types = { path = "util/types" }
189194

190195
[workspace.lints.clippy]
191196
debug_assert_with_mut_call = "deny"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[package]
2+
name = "movement-aptos-core-util"
3+
version = { workspace = true }
4+
edition = { workspace = true }
5+
license = { workspace = true }
6+
authors = { workspace = true }
7+
homepage = { workspace = true }
8+
publish = { workspace = true }
9+
rust-version = { workspace = true }
10+
11+
[dependencies]
12+
aptos-sdk = { workspace = true }
13+
aptos-types = { workspace = true }
14+
aptos-crypto = { workspace = true }
15+
aptos-config = { workspace = true }
16+
aptos-node = { workspace = true }
17+
18+
[lints]
19+
workspace = true
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# `movement-core`
2+
The core lib for running an embedded Movement Full Node.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pub use aptos_config;
2+
pub use aptos_crypto;
3+
pub use aptos_node;
4+
pub use aptos_sdk;
5+
pub use aptos_types;

util/movement/movement-util/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ rust-version = { workspace = true }
1010

1111
[dependencies]
1212
movement-util = { workspace = true }
13+
movement-client = { workspace = true }
1314

1415
[lints]
1516
workspace = true

util/movement/movement-util/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
pub use movement_client::*;
12
pub use movement_util::*;
23

34
pub const CONTAINER_REPO: &str = "ghcr.io/movementlabsxyz";

util/types/Cargo.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[package]
2+
name = "mtma-types"
3+
version = { workspace = true }
4+
edition = { workspace = true }
5+
license = { workspace = true }
6+
authors = { workspace = true }
7+
homepage = { workspace = true }
8+
publish = { workspace = true }
9+
rust-version = { workspace = true }
10+
11+
[dependencies]
12+
movement-core-util = { workspace = true }
13+
movement-aptos-core-util = { workspace = true }
14+
15+
[lints]
16+
workspace = true

util/types/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pub use movement_aptos_core_util as movement_aptos;
2+
pub use movement_core_util as movement;

0 commit comments

Comments
 (0)