Use serai- prefixes on Serai-specific packages

Fixes deny.toml, also runs a minor cargo update shrinking the tree.
This commit is contained in:
Luke Parker
2023-07-03 08:09:41 -04:00
parent 30834fe4d2
commit d49c636f0f
12 changed files with 347 additions and 294 deletions

576
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
[package] [package]
name = "coordinator" name = "serai-coordinator"
version = "0.1.0" version = "0.1.0"
description = "Serai coordinator to prepare batches and sign transactions" description = "Serai coordinator to prepare batches and sign transactions"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
@@ -34,7 +34,7 @@ sp-application-crypto = { git = "https://github.com/serai-dex/substrate", defaul
serai-db = { path = "../common/db" } serai-db = { path = "../common/db" }
processor-messages = { package = "processor-messages", path = "../processor/messages" } processor-messages = { package = "serai-processor-messages", path = "../processor/messages" }
tributary = { package = "tributary-chain", path = "./tributary" } tributary = { package = "tributary-chain", path = "./tributary" }
serai-client = { path = "../substrate/client", features = ["serai"] } serai-client = { path = "../substrate/client", features = ["serai"] }

View File

@@ -45,19 +45,19 @@ default = "deny"
exceptions = [ exceptions = [
{ allow = ["AGPL-3.0"], name = "ethereum-serai" }, { allow = ["AGPL-3.0"], name = "ethereum-serai" },
{ allow = ["AGPL-3.0"], name = "message-queue" }, { allow = ["AGPL-3.0"], name = "serai-message-queue" },
{ allow = ["AGPL-3.0"], name = "processor-messages" }, { allow = ["AGPL-3.0"], name = "serai-processor-messages" },
{ allow = ["AGPL-3.0"], name = "processor" }, { allow = ["AGPL-3.0"], name = "serai-processor" },
{ allow = ["AGPL-3.0"], name = "tributary-chain" }, { allow = ["AGPL-3.0"], name = "tributary-chain" },
{ allow = ["AGPL-3.0"], name = "coordinator" }, { allow = ["AGPL-3.0"], name = "serai-coordinator" },
{ allow = ["AGPL-3.0"], name = "tokens-pallet" }, { allow = ["AGPL-3.0"], name = "serai-tokens-pallet" },
{ allow = ["AGPL-3.0"], name = "in-instructions-pallet" }, { allow = ["AGPL-3.0"], name = "serai-in-instructions-pallet" },
{ allow = ["AGPL-3.0"], name = "validator-sets-pallet" }, { allow = ["AGPL-3.0"], name = "serai-validator-sets-pallet" },
{ allow = ["AGPL-3.0"], name = "serai-runtime" }, { allow = ["AGPL-3.0"], name = "serai-runtime" },
{ allow = ["AGPL-3.0"], name = "serai-node" }, { allow = ["AGPL-3.0"], name = "serai-node" },

View File

@@ -1,5 +1,5 @@
[package] [package]
name = "processor" name = "serai-processor"
version = "0.1.0" version = "0.1.0"
description = "Multichain processor premised on canonicity to reach distributed consensus automatically" description = "Multichain processor premised on canonicity to reach distributed consensus automatically"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
@@ -57,7 +57,10 @@ tokio = { version = "1", features = ["full"] }
serai-db = { path = "../common/db", default-features = false } serai-db = { path = "../common/db", default-features = false }
serai-client = { path = "../substrate/client", default-features = false } serai-client = { path = "../substrate/client", default-features = false }
messages = { package = "processor-messages", path = "./messages" } messages = { package = "serai-processor-messages", path = "./messages" }
jsonrpsee = { version = "0.16", features = ["client"] }
message-queue = { package = "serai-message-queue", path = "../message-queue" }
[dev-dependencies] [dev-dependencies]
futures = "0.3" futures = "0.3"

View File

@@ -1,5 +1,5 @@
[package] [package]
name = "processor-messages" name = "serai-processor-messages"
version = "0.1.0" version = "0.1.0"
description = "Messages sent and received by the processor" description = "Messages sent and received by the processor"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
@@ -22,6 +22,6 @@ bincode = "1"
dkg = { path = "../../crypto/dkg", features = ["serde"] } dkg = { path = "../../crypto/dkg", features = ["serde"] }
serai-primitives = { path = "../../substrate/primitives" } serai-primitives = { path = "../../substrate/primitives" }
in-instructions-primitives = { path = "../../substrate/in-instructions/primitives" } serai-in-instructions-primitives = { path = "../../substrate/in-instructions/primitives" }
tokens-primitives = { path = "../../substrate/tokens/primitives" } serai-tokens-primitives = { path = "../../substrate/tokens/primitives" }
validator-sets-primitives = { path = "../../substrate/validator-sets/primitives" } serai-validator-sets-primitives = { path = "../../substrate/validator-sets/primitives" }

View File

@@ -1,5 +1,5 @@
[package] [package]
name = "in-instructions-pallet" name = "serai-in-instructions-pallet"
version = "0.1.0" version = "0.1.0"
description = "Execute calls via In Instructions from unsigned transactions" description = "Execute calls via In Instructions from unsigned transactions"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
@@ -24,10 +24,10 @@ frame-system = { git = "https://github.com/serai-dex/substrate", default-feature
frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false } frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false }
serai-primitives = { path = "../../primitives", default-features = false } serai-primitives = { path = "../../primitives", default-features = false }
in-instructions-primitives = { path = "../primitives", default-features = false } in-instructions-primitives = { package = "serai-in-instructions-primitives", path = "../primitives", default-features = false }
tokens-pallet = { path = "../../tokens/pallet", default-features = false } tokens-pallet = { package = "serai-tokens-pallet", path = "../../tokens/pallet", default-features = false }
validator-sets-pallet = { path = "../../validator-sets/pallet", default-features = false } validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../../validator-sets/pallet", default-features = false }
[features] [features]
std = [ std = [

View File

@@ -1,5 +1,5 @@
[package] [package]
name = "in-instructions-primitives" name = "serai-in-instructions-primitives"
version = "0.1.0" version = "0.1.0"
description = "Serai instructions library, enabling encoding and decoding" description = "Serai instructions library, enabling encoding and decoding"
license = "MIT" license = "MIT"
@@ -23,7 +23,7 @@ sp-std = { git = "https://github.com/serai-dex/substrate", default-features = fa
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false } sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
serai-primitives = { path = "../../primitives", default-features = false } serai-primitives = { path = "../../primitives", default-features = false }
tokens-primitives = { path = "../../tokens/primitives", default-features = false } tokens-primitives = { package = "serai-tokens-primitives", path = "../../tokens/primitives", default-features = false }
[features] [features]
std = [ std = [

View File

@@ -39,7 +39,7 @@ frame-support = { git = "https://github.com/serai-dex/substrate", default-featur
frame-executive = { git = "https://github.com/serai-dex/substrate", default-features = false } frame-executive = { git = "https://github.com/serai-dex/substrate", default-features = false }
frame-benchmarking = { git = "https://github.com/serai-dex/substrate", default-features = false, optional = true } frame-benchmarking = { git = "https://github.com/serai-dex/substrate", default-features = false, optional = true }
serai-primitives = { path = "..//primitives", default-features = false } serai-primitives = { path = "../primitives", default-features = false }
pallet-timestamp = { git = "https://github.com/serai-dex/substrate", default-features = false } pallet-timestamp = { git = "https://github.com/serai-dex/substrate", default-features = false }
@@ -47,10 +47,10 @@ pallet-balances = { git = "https://github.com/serai-dex/substrate", default-feat
pallet-assets = { git = "https://github.com/serai-dex/substrate", default-features = false } pallet-assets = { git = "https://github.com/serai-dex/substrate", default-features = false }
pallet-transaction-payment = { git = "https://github.com/serai-dex/substrate", default-features = false } pallet-transaction-payment = { git = "https://github.com/serai-dex/substrate", default-features = false }
tokens-pallet = { path = "../tokens/pallet", default-features = false } tokens-pallet = { package = "serai-tokens-pallet", path = "../tokens/pallet", default-features = false }
in-instructions-pallet = { path = "../in-instructions/pallet", default-features = false } in-instructions-pallet = { package = "serai-in-instructions-pallet", path = "../in-instructions/pallet", default-features = false }
validator-sets-pallet = { path = "../validator-sets/pallet", default-features = false } validator-sets-pallet = { package = "serai-validator-sets-pallet", path = "../validator-sets/pallet", default-features = false }
pallet-session = { git = "https://github.com/serai-dex/substrate", default-features = false } pallet-session = { git = "https://github.com/serai-dex/substrate", default-features = false }
pallet-babe = { git = "https://github.com/serai-dex/substrate", default-features = false } pallet-babe = { git = "https://github.com/serai-dex/substrate", default-features = false }
pallet-grandpa = { git = "https://github.com/serai-dex/substrate", default-features = false } pallet-grandpa = { git = "https://github.com/serai-dex/substrate", default-features = false }

View File

@@ -1,5 +1,5 @@
[package] [package]
name = "tokens-pallet" name = "serai-tokens-pallet"
version = "0.1.0" version = "0.1.0"
description = "Mint and burn Serai tokens" description = "Mint and burn Serai tokens"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
@@ -21,7 +21,7 @@ frame-support = { git = "https://github.com/serai-dex/substrate", default-featur
pallet-assets = { git = "https://github.com/serai-dex/substrate", default-features = false } pallet-assets = { git = "https://github.com/serai-dex/substrate", default-features = false }
serai-primitives = { path = "../../primitives", default-features = false } serai-primitives = { path = "../../primitives", default-features = false }
tokens-primitives = { path = "../primitives", default-features = false } tokens-primitives = { package = "serai-tokens-primitives", path = "../primitives", default-features = false }
[features] [features]
std = [ std = [

View File

@@ -1,5 +1,5 @@
[package] [package]
name = "tokens-primitives" name = "serai-tokens-primitives"
version = "0.1.0" version = "0.1.0"
description = "Serai tokens primitives" description = "Serai tokens primitives"
license = "MIT" license = "MIT"

View File

@@ -1,5 +1,5 @@
[package] [package]
name = "validator-sets-pallet" name = "serai-validator-sets-pallet"
version = "0.1.0" version = "0.1.0"
description = "Validator sets pallet" description = "Validator sets pallet"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
@@ -25,7 +25,7 @@ frame-system = { git = "https://github.com/serai-dex/substrate", default-feature
frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false } frame-support = { git = "https://github.com/serai-dex/substrate", default-features = false }
serai-primitives = { path = "../../primitives", default-features = false } serai-primitives = { path = "../../primitives", default-features = false }
validator-sets-primitives = { path = "../primitives", default-features = false } validator-sets-primitives = { package = "serai-validator-sets-primitives", path = "../primitives", default-features = false }
[features] [features]
std = [ std = [

View File

@@ -1,5 +1,5 @@
[package] [package]
name = "validator-sets-primitives" name = "serai-validator-sets-primitives"
version = "0.1.0" version = "0.1.0"
description = "Primitives for validator sets" description = "Primitives for validator sets"
license = "MIT" license = "MIT"