Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change: Rearrange crates by feature #571

Merged
merged 1 commit into from
Mar 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 84 additions & 62 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -4,22 +4,18 @@ members = [
"node/runtime",
"toolkit/cli/commands",
"toolkit/cli/node-commands",
"toolkit/cli/smart-contracts-commands",
"toolkit/client/consensus/aura",
"toolkit/pallets/block-production-log",
"toolkit/pallets/partner-chains-session",
"toolkit/pallets/sidechain",
"toolkit/pallets/sidechain/rpc",
"toolkit/pallets/session-validator-management",
"toolkit/pallets/session-validator-management/benchmarking",
"toolkit/pallets/session-validator-management/rpc",
"toolkit/primitives/consensus/aura",
"toolkit/primitives/block-production-log",
"toolkit/primitives/domain",
"toolkit/primitives/selection",
"toolkit/primitives/sidechain-block-search",
"toolkit/primitives/sidechain-slots",
"toolkit/primitives/authority-selection-inherents",
"toolkit/smart-contracts/commands",
"substrate-extensions/aura/consensus",
"toolkit/block-production-log/pallet",
"substrate-extensions/partner-chains-session",
"toolkit/committee-selection/pallet",
"toolkit/committee-selection/pallet/benchmarking",
"toolkit/committee-selection/rpc",
"substrate-extensions/aura/primitives",
"toolkit/block-production-log/primitives",
"toolkit/sidechain/domain",
"toolkit/committee-selection/selection",
"toolkit/committee-selection/authority-selection-inherents",
"toolkit/mainchain-follower/main-chain-follower-cli",
"toolkit/mainchain-follower/db-sync-follower",
"toolkit/mainchain-follower/mock",
@@ -28,19 +24,23 @@ members = [
"toolkit/utils/plutus/plutus-datum-derive",
"toolkit/utils/ogmios-client",
"toolkit/utils/time-source",
"toolkit/primitives/sidechain-mc-hash",
"toolkit/primitives/session-validator-management",
"toolkit/primitives/session-validator-management/query",
"toolkit/primitives/sidechain",
"toolkit/sidechain/sidechain-mc-hash",
"toolkit/sidechain/pallet",
"toolkit/sidechain/rpc",
"toolkit/sidechain/sidechain-block-search",
"toolkit/sidechain/sidechain-slots",
"toolkit/sidechain/primitives",
"toolkit/committee-selection/primitives",
"toolkit/committee-selection/query",
"toolkit/partner-chains-cli",
"toolkit/pallets/native-token-management",
"toolkit/primitives/native-token-management",
"toolkit/offchain",
"toolkit/primitives/plutus-data",
"toolkit/pallets/address-associations",
"toolkit/pallets/block-participation",
"toolkit/primitives/block-participation",
"toolkit/primitives/block-producer-metadata",
"toolkit/native-token-management/pallet",
"toolkit/native-token-management/primitives",
"toolkit/smart-contracts/offchain",
"toolkit/smart-contracts/plutus-data",
"toolkit/address-associations/pallet",
"toolkit/block-participation/pallet",
"toolkit/block-participation/primitives",
"toolkit/block-producer-metadata/primitives",
"toolkit/utils/db-sync-sqlx",
]
resolver = "2"
@@ -207,43 +207,65 @@ substrate-wasm-builder = { default-features = false, git = "https://github.com/p
raw-scripts = { git = "https://github.com/input-output-hk/partner-chains-smart-contracts.git", tag = "v7.0.2" }

# local dependencies
sidechain-runtime = { path = "node/runtime" }
pallet-block-production-log = { path = "toolkit/pallets/block-production-log", default-features = false }
pallet-sidechain = { path = "toolkit/pallets/sidechain", default-features = false }
pallet-sidechain-rpc = { path = "toolkit/pallets/sidechain/rpc", default-features = false }
sp-session-validator-management = { default-features = false, path = "toolkit/primitives/session-validator-management" }
sp-session-validator-management-query = { default-features = false, path = "toolkit/primitives/session-validator-management/query" }
pallet-session-validator-management = { default-features = false, path = "toolkit/pallets/session-validator-management" }
pallet-session-validator-management-benchmarking = { default-features = false, path = "toolkit/pallets/session-validator-management/benchmarking" }
pallet-session-validator-management-rpc = { path = "toolkit/pallets/session-validator-management/rpc" }
ogmios-client = { path = "toolkit/utils/ogmios-client", default-features = false }
sp-block-production-log = { path = "toolkit/primitives/block-production-log", default-features = false }
selection = { path = "toolkit/primitives/selection", default-features = false }
sidechain-domain = { path = "toolkit/primitives/domain", default-features = false }
sidechain-block-search = { path = "toolkit/primitives/sidechain-block-search", default-features = false }
db-sync-follower = { path = "toolkit/mainchain-follower/db-sync-follower" }
main-chain-follower-mock = { path = "toolkit/mainchain-follower/mock", default-features = false }

# utils
plutus = { path = "toolkit/utils/plutus", default-features = false }
plutus-datum-derive = { default-features = false, path = "toolkit/utils/plutus/plutus-datum-derive" }
byte-string-derive = { default-features = false, path = "toolkit/utils/byte-string-derivation" }
sidechain-slots = { path = "toolkit/primitives/sidechain-slots", default-features = false }
ogmios-client = { path = "toolkit/utils/ogmios-client", default-features = false }
time-source = { path = "toolkit/utils/time-source" }
db-sync-sqlx = { path = "toolkit/utils/db-sync-sqlx" }

# smart contracts
partner-chains-plutus-data = { path = "toolkit/smart-contracts/plutus-data", default-features = false }
partner-chains-cardano-offchain = { path = "toolkit/smart-contracts/offchain", default-features = false }
partner-chains-smart-contracts-commands = { path = "toolkit/smart-contracts/commands", default-features = false }

cli-commands = { path = "toolkit/cli/commands" }
partner-chains-node-commands = { path = "toolkit/cli/node-commands" }
time-source = { path = "toolkit/utils/time-source" }
sidechain-mc-hash = { path = "toolkit/primitives/sidechain-mc-hash", default-features = false }
authority-selection-inherents = { path = "toolkit/primitives/authority-selection-inherents", default-features = false }
sp-sidechain = { path = "toolkit/primitives/sidechain", default-features = false }
pallet-native-token-management = { path = "toolkit/pallets/native-token-management", default-features = false }
sp-native-token-management = { path = "toolkit/primitives/native-token-management", default-features = false }
sc-partner-chains-consensus-aura = { path = "toolkit/client/consensus/aura", default-features = false }
sp-partner-chains-consensus-aura = { path = "toolkit/primitives/consensus/aura", default-features = false }
pallet-partner-chains-session = { path = "toolkit/pallets/partner-chains-session", default-features = false }
partner-chains-cardano-offchain = { path = "toolkit/offchain", default-features = false }
partner-chains-cli = { path = "toolkit/partner-chains-cli", default-features = false }
partner-chains-plutus-data = { path = "toolkit/primitives/plutus-data", default-features = false }
partner-chains-smart-contracts-commands = { path = "toolkit/cli/smart-contracts-commands", default-features = false }
pallet-address-associations = { path = "toolkit/pallets/address-associations", default-features = false }
pallet-block-participation = { path = "toolkit/pallets/block-participation", default-features = false }
sp-block-participation = { path = "toolkit/primitives/block-participation", default-features = false }
sp-block-producer-metadata = { path = "toolkit/primitives/block-producer-metadata", default-features = false }
db-sync-sqlx = { path = "toolkit/utils/db-sync-sqlx" }

pallet-address-associations = { path = "toolkit/address-associations/pallet", default-features = false }

# sidechain core
sidechain-domain = { path = "toolkit/sidechain/domain", default-features = false }
sidechain-block-search = { path = "toolkit/sidechain/sidechain-block-search", default-features = false }
sidechain-slots = { path = "toolkit/sidechain/sidechain-slots", default-features = false }
sidechain-mc-hash = { path = "toolkit/sidechain/sidechain-mc-hash", default-features = false }
sp-sidechain = { path = "toolkit/sidechain/primitives", default-features = false }
pallet-sidechain = { path = "toolkit/sidechain/pallet", default-features = false }
pallet-sidechain-rpc = { path = "toolkit/sidechain/rpc", default-features = false }

# committee selection
selection = { path = "toolkit/committee-selection/selection", default-features = false }
sp-session-validator-management = { default-features = false, path = "toolkit/committee-selection/primitives" }
sp-session-validator-management-query = { default-features = false, path = "toolkit/committee-selection/query" }
pallet-session-validator-management = { default-features = false, path = "toolkit/committee-selection/pallet" }
pallet-session-validator-management-benchmarking = { default-features = false, path = "toolkit/committee-selection/pallet/benchmarking" }
pallet-session-validator-management-rpc = { path = "toolkit/committee-selection/rpc" }
authority-selection-inherents = { path = "toolkit/committee-selection/authority-selection-inherents", default-features = false }

# substrate extensions
sc-partner-chains-consensus-aura = { path = "substrate-extensions/aura/consensus", default-features = false }
sp-partner-chains-consensus-aura = { path = "substrate-extensions/aura/primitives", default-features = false }
pallet-partner-chains-session = { path = "substrate-extensions/partner-chains-session", default-features = false }

# native token management
pallet-native-token-management = { path = "toolkit/native-token-management/pallet", default-features = false }
sp-native-token-management = { path = "toolkit/native-token-management/primitives", default-features = false }

# block production and rewards
pallet-block-production-log = { path = "toolkit/block-production-log/pallet", default-features = false }
sp-block-production-log = { path = "toolkit/block-production-log/primitives", default-features = false }
pallet-block-participation = { path = "toolkit/block-participation/pallet", default-features = false }
sp-block-participation = { path = "toolkit/block-participation/primitives", default-features = false }

# block producer metadata
sp-block-producer-metadata = { path = "toolkit/block-producer-metadata/primitives", default-features = false }

# main chain follower
db-sync-follower = { path = "toolkit/mainchain-follower/db-sync-follower" }
main-chain-follower-mock = { path = "toolkit/mainchain-follower/mock", default-features = false }

# demo node
sidechain-runtime = { path = "node/runtime" }
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.
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.
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.
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.