Cargo.toml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [package]
  2. name = 'pallet-forum'
  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. frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  10. frame-system = { package = 'frame-system', 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. sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  14. pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  15. common = { package = 'pallet-common', default-features = false, path = '../common'}
  16. sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  17. balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  18. # Benchmarking 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. working-group = { package = 'pallet-working-group', default-features = false, path = '../working-group', optional = true}
  22. staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler', optional = true}
  23. sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', optional = true}
  24. [dev-dependencies]
  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. working-group = { package = 'pallet-working-group', default-features = false, path = '../working-group'}
  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. 'membership',
  34. 'working-group',
  35. 'staking-handler',
  36. 'sp-core',
  37. ]
  38. std = [
  39. 'serde',
  40. 'codec/std',
  41. 'frame-support/std',
  42. 'frame-system/std',
  43. 'sp-std/std',
  44. 'sp-arithmetic/std',
  45. 'sp-runtime/std',
  46. 'sp-io/std',
  47. 'pallet-timestamp/std',
  48. 'common/std',
  49. 'balances/std',
  50. ]