Cargo.toml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [package]
  2. name = 'pallet-proposals-engine'
  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. pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  13. sp-arithmetic = { package = 'sp-arithmetic', 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. balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  16. common = { package = 'pallet-common', default-features = false, path = '../../common'}
  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. council = { package = 'pallet-council', default-features = false, path = '../../council', optional = true}
  22. referendum = { package = 'pallet-referendum', default-features = false, path = '../../referendum', optional = true}
  23. [dev-dependencies]
  24. sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  25. sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  26. council = { package = 'pallet-council', default-features = false, path = '../../council'}
  27. membership = { package = 'pallet-membership', default-features = false, path = '../../membership'}
  28. referendum = { package = 'pallet-referendum', default-features = false, path = '../../referendum'}
  29. [features]
  30. default = ['std']
  31. runtime-benchmarks = [
  32. 'frame-benchmarking',
  33. 'membership',
  34. 'council',
  35. 'referendum',
  36. ]
  37. std = [
  38. 'serde',
  39. 'codec/std',
  40. 'sp-std/std',
  41. 'frame-support/std',
  42. 'frame-system/std',
  43. 'pallet-timestamp/std',
  44. 'sp-arithmetic/std',
  45. 'sp-runtime/std',
  46. 'balances/std',
  47. 'common/std',
  48. 'staking-handler/std',
  49. ]