Cargo.toml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [package]
  2. name = 'pallet-referendum'
  3. version = '5.0.0'
  4. authors = ['Joystream contributors']
  5. edition = '2018'
  6. [dependencies]
  7. codec = { package = 'parity-scale-codec', version = '1.0.0', default-features = false, features = ['derive'] }
  8. serde = { version = '1.0.101', optional = true}
  9. sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  10. sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  11. sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  12. sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  13. frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  14. frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  15. common = { package = 'pallet-common', default-features = false, path = '../common'}
  16. balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  17. staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler'}
  18. # Benchmark dependencies
  19. frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', optional = true }
  20. membership = { package = 'pallet-membership', default-features = false, path = '../membership', optional = true }
  21. [dev-dependencies]
  22. sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  23. rand = "0.7.3"
  24. pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  25. membership = { package = 'pallet-membership', default-features = false, path = '../membership' }
  26. [features]
  27. default = ['std']
  28. runtime-benchmarks = ['frame-benchmarking', 'membership']
  29. std = [
  30. 'codec/std',
  31. 'sp-core/std',
  32. 'sp-std/std',
  33. 'serde',
  34. 'sp-runtime/std',
  35. 'sp-arithmetic/std',
  36. 'frame-support/std',
  37. 'frame-system/std',
  38. 'common/std',
  39. 'staking-handler/std',
  40. 'balances/std',
  41. ]