[package] name = "serai-core-pallet" version = "0.1.0" description = "Core pallet" license = "AGPL-3.0-only" repository = "https://github.com/serai-dex/serai/tree/develop/substrate/core" authors = ["Luke Parker "] edition = "2021" rust-version = "1.85" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [lints] workspace = true [dependencies] borsh = { version = "1", default-features = false, features = ["derive", "de_strict_order"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } sp-core = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "71fa60b900c8ad068f1b9ce8100508506377fbf5", default-features = false } frame-system = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "71fa60b900c8ad068f1b9ce8100508506377fbf5", default-features = false } frame-support = { git = "https://github.com/serai-dex/patch-polkadot-sdk", rev = "71fa60b900c8ad068f1b9ce8100508506377fbf5", default-features = false } serai-abi = { path = "../abi", default-features = false, features = ["substrate"] } [features] std = [ "borsh/std", "scale/std", "sp-core/std", "frame-system/std", "frame-support/std", "serai-abi/std", ] runtime-benchmarks = [ "frame-system/runtime-benchmarks", "frame-support/runtime-benchmarks", ] try-runtime = ["serai-abi/try-runtime"] default = ["std"]