Cargo.toml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. [package]
  2. authors = ['Joystream contributors']
  3. edition = '2018'
  4. name = 'joystream-node-runtime'
  5. # Follow convention: https://github.com/Joystream/substrate-runtime-joystream/issues/1
  6. # {Authoring}.{Spec}.{Impl} of the RuntimeVersion
  7. version = '9.7.0'
  8. [dependencies]
  9. # Third-party dependencies
  10. serde = { version = "1.0.101", optional = true, features = ["derive"] }
  11. codec = { package = 'parity-scale-codec', version = '1.3.1', default-features = false, features = ['derive'] }
  12. # Substrate primitives
  13. sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  14. sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  15. sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  16. sp-offchain = { package = 'sp-offchain', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  17. sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  18. sp-authority-discovery = { package = 'sp-authority-discovery', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  19. sp-consensus-babe = { package = 'sp-consensus-babe', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  20. sp-transaction-pool = { package = 'sp-transaction-pool', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  21. sp-session = { package = 'sp-session', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  22. sp-block-builder = { package = 'sp-block-builder', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  23. sp-api = { package = 'sp-api', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  24. sp-version = { package = 'sp-version', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  25. sp-staking = { package = 'sp-staking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  26. sp-application-crypto = { package = 'sp-application-crypto', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  27. # Frame
  28. frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  29. frame-executive = { package = 'frame-executive', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  30. frame-system-rpc-runtime-api = { package = 'frame-system-rpc-runtime-api', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  31. frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  32. # Pallets
  33. pallet-grandpa = { package = 'pallet-grandpa', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  34. pallet-staking-reward-curve = { package = 'pallet-staking-reward-curve', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  35. pallet-babe = { package = 'pallet-babe', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  36. pallet-transaction-payment = { package = 'pallet-transaction-payment', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  37. pallet-transaction-payment-rpc-runtime-api = { package = 'pallet-transaction-payment-rpc-runtime-api', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  38. pallet-authorship = { package = 'pallet-authorship', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  39. pallet-session = { package = 'pallet-session', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  40. pallet-offences = { package = 'pallet-offences', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  41. pallet-finality-tracker = { package = 'pallet-finality-tracker', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  42. pallet-randomness-collective-flip = { package = 'pallet-randomness-collective-flip', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  43. pallet-authority-discovery = { package = 'pallet-authority-discovery', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  44. pallet-sudo = { package = 'pallet-sudo', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  45. pallet-staking = { package = 'pallet-staking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  46. pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  47. pallet-balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  48. pallet-im-online = { package = 'pallet-im-online', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  49. pallet-collective = { package = 'pallet-collective', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  50. substrate-utility = { package = 'pallet-utility', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  51. # Benchmarking
  52. frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', default-features = false, optional = true }
  53. frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', default-features = false, optional = true }
  54. pallet-offences-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', default-features = false, optional = true }
  55. pallet-session-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', default-features = false, optional = true }
  56. # Joystream
  57. common = { package = 'pallet-common', default-features = false, path = '../runtime-modules/common'}
  58. memo = { package = 'pallet-memo', default-features = false, path = '../runtime-modules/memo'}
  59. forum = { package = 'pallet-forum', default-features = false, path = '../runtime-modules/forum'}
  60. membership = { package = 'pallet-membership', default-features = false, path = '../runtime-modules/membership'}
  61. stake = { package = 'pallet-stake', default-features = false, path = '../runtime-modules/stake'}
  62. governance = { package = 'pallet-governance', default-features = false, path = '../runtime-modules/governance'}
  63. hiring = { package = 'pallet-hiring', default-features = false, path = '../runtime-modules/hiring'}
  64. minting = { package = 'pallet-token-mint', default-features = false, path = '../runtime-modules/token-minting'}
  65. recurring-rewards = { package = 'pallet-recurring-reward', default-features = false, path = '../runtime-modules/recurring-reward'}
  66. working-group = { package = 'pallet-working-group', default-features = false, path = '../runtime-modules/working-group'}
  67. storage = { package = 'pallet-storage', default-features = false, path = '../runtime-modules/storage'}
  68. proposals-engine = { package = 'pallet-proposals-engine', default-features = false, path = '../runtime-modules/proposals/engine'}
  69. proposals-discussion = { package = 'pallet-proposals-discussion', default-features = false, path = '../runtime-modules/proposals/discussion'}
  70. proposals-codex = { package = 'pallet-proposals-codex', default-features = false, path = '../runtime-modules/proposals/codex'}
  71. content = { package = 'pallet-content', default-features = false, path = '../runtime-modules/content' }
  72. [dev-dependencies]
  73. sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  74. strum = {version = "0.19", default-features = false}
  75. [build-dependencies]
  76. wasm-builder-runner = { package = "substrate-wasm-builder-runner", git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62' }
  77. [features]
  78. default = ['std']
  79. no_std = []
  80. std = [
  81. # Third-party dependencies
  82. 'serde',
  83. 'codec/std',
  84. # Substrate primitives
  85. 'sp-std/std',
  86. 'sp-core/std',
  87. 'sp-api/std',
  88. 'sp-version/std',
  89. 'sp-runtime/std',
  90. 'sp-arithmetic/std',
  91. 'sp-offchain/std',
  92. 'sp-authority-discovery/std',
  93. 'sp-consensus-babe/std',
  94. 'sp-transaction-pool/std',
  95. 'sp-block-builder/std',
  96. 'sp-session/std',
  97. 'sp-staking/std',
  98. 'sp-application-crypto/std',
  99. # Frame
  100. 'frame-support/std',
  101. 'frame-executive/std',
  102. 'frame-system-rpc-runtime-api/std',
  103. 'frame-system/std',
  104. # Pallets
  105. 'pallet-timestamp/std',
  106. 'pallet-balances/std',
  107. 'pallet-transaction-payment/std',
  108. 'pallet-transaction-payment-rpc-runtime-api/std',
  109. 'pallet-grandpa/std',
  110. 'pallet-babe/std',
  111. 'pallet-session/std',
  112. 'pallet-finality-tracker/std',
  113. 'pallet-authority-discovery/std',
  114. 'pallet-authorship/std',
  115. 'pallet-randomness-collective-flip/std',
  116. 'pallet-staking/std',
  117. # 'pallet-staking-reward-curve/std', // don't have 'std' features
  118. 'pallet-sudo/std',
  119. 'pallet-im-online/std',
  120. 'pallet-collective/std',
  121. 'pallet-offences/std',
  122. 'substrate-utility/std',
  123. # Joystream
  124. 'common/std',
  125. 'memo/std',
  126. 'forum/std',
  127. 'membership/std',
  128. 'stake/std',
  129. 'governance/std',
  130. 'hiring/std',
  131. 'minting/std',
  132. 'recurring-rewards/std',
  133. 'working-group/std',
  134. 'storage/std',
  135. 'proposals-engine/std',
  136. 'proposals-discussion/std',
  137. 'proposals-codex/std',
  138. 'content/std',
  139. ]
  140. runtime-benchmarks = [
  141. "frame-system/runtime-benchmarks",
  142. "frame-support/runtime-benchmarks",
  143. "sp-runtime/runtime-benchmarks",
  144. "pallet-balances/runtime-benchmarks",
  145. "pallet-collective/runtime-benchmarks",
  146. "pallet-im-online/runtime-benchmarks",
  147. "pallet-staking/runtime-benchmarks",
  148. "pallet-timestamp/runtime-benchmarks",
  149. "frame-benchmarking",
  150. "frame-system-benchmarking",
  151. "pallet-offences-benchmarking",
  152. "pallet-session-benchmarking",
  153. "substrate-utility/runtime-benchmarks",
  154. ]