Skip to content

Commit

Permalink
Reorganize crates
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOmarA committed Jan 3, 2024
1 parent 8f7b240 commit f759ef7
Show file tree
Hide file tree
Showing 19 changed files with 18 additions and 19 deletions.
17 changes: 8 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
[workspace]
resolver = "2"
members = [
# Protocol Core
"olympus",
# Core Libraries
"scrypto-interface",
"scrypto-interface-proc-macros",
# Interfaces
"adapters-interface",
"ociswap-adapter",
# Blueprints
"blueprints/olympus",
"blueprints/test-oracle",
"blueprints/ociswap-adapter",
# Libraries
"libraries/scrypto-interface",
"libraries/scrypto-interface-proc-macros",
"libraries/adapters-interface",
# Testing
"unit-tests",
"test-oracle",
]

[workspace.package]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ sbor = { workspace = true }
scrypto = { workspace = true }
radix-engine-interface = { workspace = true }

scrypto-interface = { path = "../scrypto-interface" }
adapters-interface = { path = "../adapters-interface" }
scrypto-interface = { path = "../../libraries/scrypto-interface" }
adapters-interface = { path = "../../libraries/adapters-interface" }

[features]
default = []
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion olympus/Cargo.toml → blueprints/olympus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sbor = { workspace = true }
scrypto = { workspace = true }
radix-engine-derive = { workspace = true }

adapters-interface = { path = "../adapters-interface" }
adapters-interface = { path = "../../libraries/adapters-interface" }

humantime = { version = "2.1.0" }

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions test-oracle/Cargo.toml → blueprints/test-oracle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ sbor = { workspace = true }
scrypto = { workspace = true }
radix-engine-derive = { workspace = true }

scrypto-interface = { path = "../scrypto-interface" }
adapters-interface = { path = "../adapters-interface" }
scrypto-interface = { path = "../../libraries/scrypto-interface" }
adapters-interface = { path = "../../libraries/adapters-interface" }

humantime = { version = "2.1.0" }

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 @@ -5,5 +5,5 @@ edition.workspace = true
description = "A library that provides compile-time interface capabilities to Scrypto blueprints"

[dependencies]
paste = "1.0.14"
paste = { version = "1.0.14" }
scrypto-interface-proc-macros = { path = "../scrypto-interface-proc-macros" }
File renamed without changes.
8 changes: 4 additions & 4 deletions unit-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ radix-engine-interface = { workspace = true }
radix-engine-store-interface = { workspace = true }

# Pull in the various blueprints to get their testing stubs
olympus = { path = "../olympus", features = ["test"] }
test-oracle = { path = "../test-oracle", features = ["test"] }
ociswap-adapter = { path = "../ociswap-adapter", features = ["test"] }
adapters-interface = { path = "../adapters-interface" }
olympus = { path = "../blueprints/olympus", features = ["test"] }
test-oracle = { path = "../blueprints/test-oracle", features = ["test"] }
ociswap-adapter = { path = "../blueprints/ociswap-adapter", features = ["test"] }
adapters-interface = { path = "../libraries/adapters-interface" }

paste = { version = "1.0.14" }
lazy_static = { version = "1.4.0" }
Expand Down

0 comments on commit f759ef7

Please sign in to comment.