Cargo.toml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [package]
  2. name = 'pallet-bounty'
  3. version = '1.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-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  10. sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  11. frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  12. frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  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. common = { package = 'pallet-common', default-features = false, path = '../common'}
  16. staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler'}
  17. # Benchmarking
  18. frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', optional = true}
  19. council = { package = 'pallet-council', default-features = false, path = '../council'}
  20. referendum = { package = 'pallet-referendum', default-features = false, path = '../referendum'}
  21. membership = { package = 'pallet-membership', default-features = false, path = '../membership'}
  22. [dev-dependencies]
  23. pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  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. membership = { package = 'pallet-membership', default-features = false, path = '../membership'}
  27. council = { package = 'pallet-council', default-features = false, path = '../council'}
  28. staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler'}
  29. [features]
  30. default = ['std']
  31. runtime-benchmarks = [
  32. "frame-benchmarking",
  33. "sp-runtime/runtime-benchmarks",
  34. "council/runtime-benchmarks",
  35. "membership/runtime-benchmarks"
  36. ]
  37. std = [
  38. 'serde',
  39. 'codec/std',
  40. 'sp-arithmetic/std',
  41. 'sp-std/std',
  42. 'frame-support/std',
  43. 'frame-system/std',
  44. 'balances/std',
  45. 'sp-runtime/std',
  46. 'common/std',
  47. 'staking-handler/std',
  48. ]