Skip to content

Commit

Permalink
sui-core: move into crates directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill committed May 23, 2022
1 parent 16ad801 commit 98417b0
Show file tree
Hide file tree
Showing 55 changed files with 91 additions and 91 deletions.
142 changes: 71 additions & 71 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ members = [
"crates/sui-adapter",
"crates/sui-adapter-transactional-tests",
"crates/sui-config",
"crates/sui-core",
"crates/sui-faucet",
"crates/sui-framework",
"crates/sui-framework-build",
Expand All @@ -20,7 +21,6 @@ members = [
"crates/test-utils",
"crates/x",
"sui",
"sui_core",
]

[profile.release]
Expand Down
18 changes: 9 additions & 9 deletions sui_core/Cargo.toml → crates/sui-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "sui_core"
name = "sui-core"
version = "0.1.0"
authors = ["Mysten Labs <[email protected]>"]
license = "Apache-2.0"
Expand Down Expand Up @@ -42,13 +42,13 @@ thiserror = "1.0.30"
arc-swap = "1.5.0"


sui-adapter = { path = "../crates/sui-adapter" }
sui-framework = { path = "../crates/sui-framework" }
sui-network = { path = "../crates/sui-network" }
sui-types = { path = "../crates/sui-types" }
sui-storage = { path = "../crates/sui-storage" }
sui-config = { path = "../crates/sui-config" }
sui-json = { path = "../crates/sui-json" }
sui-adapter = { path = "../sui-adapter" }
sui-framework = { path = "../sui-framework" }
sui-network = { path = "../sui-network" }
sui-types = { path = "../sui-types" }
sui-storage = { path = "../sui-storage" }
sui-config = { path = "../sui-config" }
sui-json = { path = "../sui-json" }

move-binary-format = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b" }
move-bytecode-utils = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b" }
Expand All @@ -74,7 +74,7 @@ tracing-test = "0.2.1"
tracing-subscriber = "^0.3"

test-fuzz = "3.0.2"
test-utils = { path = "../crates/test-utils" }
test-utils = { path = "../test-utils" }

[[example]]
name = "generate-format"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ struct Options {
action: Action,
}

const FILE_PATH: &str = "sui_core/tests/staged/sui.yaml";
const FILE_PATH: &str = "sui-core/tests/staged/sui.yaml";

fn main() {
let options = Options::parse();
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "Examples"
version = "0.0.1"

[dependencies]
Sui = { local = "../../../../../crates/sui-framework" }
Sui = { local = "../../../../../sui-framework" }

[addresses]
Examples = "0x0"
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "ObjectOwner"
version = "0.0.1"

[dependencies]
Sui = { local = "../../../../../crates/sui-framework" }
Sui = { local = "../../../../../sui-framework" }

[addresses]
ObjectOwner = "0x0"
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "ObjectWrapping"
version = "0.0.1"

[dependencies]
Sui = { local = "../../../../../crates/sui-framework" }
Sui = { local = "../../../../../sui-framework" }

[addresses]
ObjectWrapping = "0x0"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/sui-faucet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tower = { version = "0.4.12", features = ["util", "timeout", "load-shed", "limit

sui = { path = "../../sui" }
sui-types = { path = "../sui-types" }
sui_core = { path = "../../sui_core" }
sui-core = { path = "../sui-core" }

[dev-dependencies]
tempfile = "3.3.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ futures = "0.3.21"
ed25519-dalek = { version = "1.0.1", features = ["batch", "serde"] }
prometheus_exporter = "0.8.4"

sui_core = { path = "../../sui_core" }
sui-core = { path = "../sui-core" }
sui-config = { path = "../sui-config" }
sui-types = { path = "../sui-types" }
sui-json = { path = "../sui-json" }
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tokio = { version = "1.18.2", features = ["full"] }
tracing = "0.1.34"

sui-config = { path = "../sui-config" }
sui_core = { path = "../../sui_core" }
sui-core = { path = "../sui-core" }
sui-storage = { path = "../sui-storage" }
sui-gateway = { path = "../sui-gateway" }

Expand Down
2 changes: 1 addition & 1 deletion crates/sui-transactional-test-runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ sui-framework = { path = "../sui-framework" }
sui-verifier = { path = "../sui-verifier" }
sui-types = { path = "../sui-types" }
sui-adapter = { path = "../sui-adapter" }
sui_core = { path = "../../sui_core" }
sui-core = { path = "../sui-core" }
2 changes: 1 addition & 1 deletion crates/test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ narwhal-config = { git = "https://github.com/MystenLabs/narwhal", rev = "2c5e823

sui-config = { path = "../sui-config" }
sui-types = { path = "../sui-types" }
sui_core = { path = "../../sui_core" }
sui-core = { path = "../sui-core" }
sui-network = { path = "../sui-network" }
sui = { path = "../../sui" }
2 changes: 1 addition & 1 deletion sui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ multiaddr = "0.14.0"
mysten-network = { git = "https://github.com/MystenLabs/mysten-infra", rev = "7c247967e5a5abd59ecaa75bc62b05bcdf4503fe" }

bcs = "0.1.3"
sui_core = { path = "../sui_core" }
sui-core = { path = "../crates/sui-core" }
sui-storage = { path = "../crates/sui-storage" }
sui-adapter = { path = "../crates/sui-adapter" }
sui-framework = { path = "../crates/sui-framework" }
Expand Down

0 comments on commit 98417b0

Please sign in to comment.