[package] name = "pallet-asset-rate" version = "17.0.0" description = "Whitelist non-native assets for treasury spending and provide conversion to native balance" authors.workspace = true homepage.workspace = true edition.workspace = true license = "Apache-2.0" repository.workspace = true [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { features = [ "derive", ], workspace = true } scale-info = { features = ["derive"], workspace = true } frame-benchmarking = { optional = true, workspace = true } frame-support.workspace = true frame-system.workspace = true sp-runtime.workspace = true sp-core = { optional = true, workspace = true } [dev-dependencies] pallet-balances = { default-features = true, path = "../balances" } sp-io = { default-features = true, path = "../../primitives/io" } sp-core = { path = "../../primitives/core", default-features = false } [features] default = ["std"] std = [ "codec/std", "frame-benchmarking?/std", "frame-support/std", "frame-system/std", "scale-info/std", "sp-core?/std", "sp-runtime/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-core", "sp-runtime/runtime-benchmarks", ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime", ]