Cargo.toml 2.9 KB

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