[package] name = "orml-rewards" description = "Store and manage shares and rewards" repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/rewards" license = "Apache-2.0" version = "1.0.0" authors = ["Acala Developers"] edition = "2021" [dependencies] parity-scale-codec = { version = "3.0.0", default-features = false, features = ["max-encoded-len"] } scale-info = { workspace = true } serde = { workspace = true, optional = true } frame-support = { workspace = true } frame-system = { workspace = true } sp-core = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true, features = ["serde"] } sp-std = { workspace = true } orml-traits = { path = "../traits", version = "1.0.0", default-features = false } [dev-dependencies] sp-core = { workspace = true, features = ["std"] } [features] default = [ "std" ] std = [ "frame-support/std", "frame-system/std", "orml-traits/std", "parity-scale-codec/std", "scale-info/std", "serde", "sp-core/std", "sp-io/std", "sp-runtime/std", "sp-std/std", ] try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "sp-runtime/try-runtime", ]