Cargo.toml 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [package]
  2. name = 'pallet-proposals-codex'
  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. sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  12. sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  13. frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  14. staking = { package = 'pallet-staking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  15. pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  16. working-group = { package = 'pallet-working-group', default-features = false, path = '../../working-group'}
  17. common = { package = 'pallet-common', default-features = false, path = '../../common'}
  18. proposals-engine = { package = 'pallet-proposals-engine', default-features = false, path = '../engine'}
  19. proposals-discussion = { package = 'pallet-proposals-discussion', default-features = false, path = '../discussion'}
  20. constitution = { package = 'pallet-constitution', default-features = false, path = '../../constitution'}
  21. membership = { package = 'pallet-membership', default-features = false, path = '../../membership'}
  22. blog = { package = 'pallet-blog', default-features = false, path = '../../blog'}
  23. # Benchmarking dependencies
  24. frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', optional = true}
  25. council = { package = 'pallet-council', default-features = false, path = '../../council', optional = true}
  26. balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', optional = true}
  27. [dev-dependencies]
  28. sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  29. sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  30. sp-staking = { package = 'sp-staking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  31. pallet-staking-reward-curve = { package = 'pallet-staking-reward-curve', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  32. strum = {version = "0.19", default-features = false}
  33. staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../../staking-handler'}
  34. referendum = { package = 'pallet-referendum', default-features = false, path = '../../referendum'}
  35. council = { package = 'pallet-council', default-features = false, path = '../../council'}
  36. balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  37. [features]
  38. default = ['std']
  39. runtime-benchmarks = ['frame-benchmarking', 'balances', 'council']
  40. std = [
  41. 'serde',
  42. 'codec/std',
  43. 'sp-std/std',
  44. 'frame-support/std',
  45. 'sp-arithmetic/std',
  46. 'sp-runtime/std',
  47. 'frame-system/std',
  48. 'staking/std',
  49. 'pallet-timestamp/std',
  50. 'working-group/std',
  51. 'common/std',
  52. 'proposals-engine/std',
  53. 'proposals-discussion/std',
  54. 'constitution/std',
  55. 'membership/std',
  56. 'blog/std',
  57. ]