Cargo.toml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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 = '7.0.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 = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  14. sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  15. sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  16. sp-offchain = { package = 'sp-offchain', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  17. sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  18. sp-authority-discovery = { package = 'sp-authority-discovery', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  19. sp-consensus-babe = { package = 'sp-consensus-babe', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  20. sp-transaction-pool = { package = 'sp-transaction-pool', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  21. sp-session = { package = 'sp-session', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  22. sp-block-builder = { package = 'sp-block-builder', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  23. sp-api = { package = 'sp-api', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  24. sp-version = { package = 'sp-version', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  25. sp-staking = { package = 'sp-staking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  26. sp-application-crypto = { package = 'sp-application-crypto', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  27. # Frame
  28. frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  29. frame-executive = { package = 'frame-executive', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  30. frame-system-rpc-runtime-api = { package = 'frame-system-rpc-runtime-api', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  31. system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  32. # Pallets
  33. pallet-grandpa = { package = 'pallet-grandpa', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  34. pallet-staking-reward-curve = { package = 'pallet-staking-reward-curve', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  35. pallet-babe = { package = 'pallet-babe', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  36. pallet-indices = { package = 'pallet-indices', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  37. pallet-transaction-payment = { package = 'pallet-transaction-payment', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  38. pallet-transaction-payment-rpc-runtime-api = { package = 'pallet-transaction-payment-rpc-runtime-api', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  39. pallet-authorship = { package = 'pallet-authorship', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  40. pallet-session = { package = 'pallet-session', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  41. pallet-offences = { package = 'pallet-offences', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  42. pallet-finality-tracker = { package = 'pallet-finality-tracker', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  43. pallet-randomness-collective-flip = { package = 'pallet-randomness-collective-flip', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  44. pallet-authority-discovery = { package = 'pallet-authority-discovery', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  45. pallet-sudo = { package = 'pallet-sudo', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  46. pallet-staking = { package = 'pallet-staking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  47. pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  48. pallet-balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  49. pallet-im-online = { package = 'pallet-im-online', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  50. pallet-collective = { package = 'pallet-collective', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  51. pallet-contracts = { package = 'pallet-contracts', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  52. pallet-contracts-rpc-runtime-api = { package = 'pallet-contracts-rpc-runtime-api', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  53. pallet-contracts-primitives = { package = 'pallet-contracts-primitives', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  54. # Benchmarking
  55. frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4', default-features = false, optional = true }
  56. frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4', default-features = false, optional = true }
  57. pallet-offences-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4', default-features = false, optional = true }
  58. pallet-session-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4', default-features = false, optional = true }
  59. # Joystream
  60. common = { package = 'pallet-common', default-features = false, path = '../runtime-modules/common'}
  61. memo = { package = 'pallet-memo', default-features = false, path = '../runtime-modules/memo'}
  62. forum = { package = 'pallet-forum', default-features = false, path = '../runtime-modules/forum'}
  63. membership = { package = 'pallet-membership', default-features = false, path = '../runtime-modules/membership'}
  64. stake = { package = 'pallet-stake', default-features = false, path = '../runtime-modules/stake'}
  65. governance = { package = 'pallet-governance', default-features = false, path = '../runtime-modules/governance'}
  66. hiring = { package = 'pallet-hiring', default-features = false, path = '../runtime-modules/hiring'}
  67. minting = { package = 'pallet-token-mint', default-features = false, path = '../runtime-modules/token-minting'}
  68. recurring-rewards = { package = 'pallet-recurring-reward', default-features = false, path = '../runtime-modules/recurring-reward'}
  69. working-group = { package = 'pallet-working-group', default-features = false, path = '../runtime-modules/working-group'}
  70. content-working-group = { package = 'pallet-content-working-group', default-features = false, path = '../runtime-modules/content-working-group'}
  71. versioned-store = { package = 'pallet-versioned-store', default-features = false, path = '../runtime-modules/versioned-store'}
  72. versioned-store-permissions = { package = 'pallet-versioned-store-permissions', default-features = false, path = '../runtime-modules/versioned-store-permissions'}
  73. storage = { package = 'pallet-storage', default-features = false, path = '../runtime-modules/storage'}
  74. service-discovery = { package = 'pallet-service-discovery', default-features = false, path = '../runtime-modules/service-discovery'}
  75. proposals-engine = { package = 'pallet-proposals-engine', default-features = false, path = '../runtime-modules/proposals/engine'}
  76. proposals-discussion = { package = 'pallet-proposals-discussion', default-features = false, path = '../runtime-modules/proposals/discussion'}
  77. proposals-codex = { package = 'pallet-proposals-codex', default-features = false, path = '../runtime-modules/proposals/codex'}
  78. [dev-dependencies]
  79. sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  80. [build-dependencies]
  81. wasm-builder-runner = { package = "substrate-wasm-builder-runner", git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  82. [features]
  83. default = ['std']
  84. no_std = []
  85. std = [
  86. # Third-party dependencies
  87. 'serde',
  88. 'codec/std',
  89. # Substrate primitives
  90. 'sp-std/std',
  91. 'sp-core/std',
  92. 'sp-api/std',
  93. 'sp-version/std',
  94. 'sp-runtime/std',
  95. 'sp-arithmetic/std',
  96. 'sp-offchain/std',
  97. 'sp-authority-discovery/std',
  98. 'sp-consensus-babe/std',
  99. 'sp-transaction-pool/std',
  100. 'sp-block-builder/std',
  101. 'sp-session/std',
  102. 'sp-staking/std',
  103. 'sp-application-crypto/std',
  104. # Frame
  105. 'frame-support/std',
  106. 'frame-executive/std',
  107. 'frame-system-rpc-runtime-api/std',
  108. 'system/std',
  109. # Pallets
  110. 'pallet-timestamp/std',
  111. 'pallet-balances/std',
  112. 'pallet-transaction-payment/std',
  113. 'pallet-transaction-payment-rpc-runtime-api/std',
  114. 'pallet-grandpa/std',
  115. 'pallet-babe/std',
  116. 'pallet-session/std',
  117. 'pallet-finality-tracker/std',
  118. 'pallet-authority-discovery/std',
  119. 'pallet-authorship/std',
  120. 'pallet-randomness-collective-flip/std',
  121. 'pallet-staking/std',
  122. # 'pallet-staking-reward-curve/std', // don't have 'std' features
  123. 'pallet-sudo/std',
  124. 'pallet-indices/std',
  125. 'pallet-im-online/std',
  126. 'pallet-collective/std',
  127. 'pallet-offences/std',
  128. 'pallet-contracts/std',
  129. 'pallet-contracts-rpc-runtime-api/std',
  130. 'pallet-contracts-primitives/std',
  131. # Joystream
  132. 'common/std',
  133. 'memo/std',
  134. 'forum/std',
  135. 'membership/std',
  136. 'stake/std',
  137. 'governance/std',
  138. 'hiring/std',
  139. 'minting/std',
  140. 'recurring-rewards/std',
  141. 'working-group/std',
  142. 'content-working-group/std',
  143. 'versioned-store/std',
  144. 'versioned-store-permissions/std',
  145. 'storage/std',
  146. 'service-discovery/std',
  147. 'proposals-engine/std',
  148. 'proposals-discussion/std',
  149. 'proposals-codex/std',
  150. ]
  151. runtime-benchmarks = [
  152. "system/runtime-benchmarks",
  153. "frame-support/runtime-benchmarks",
  154. "sp-runtime/runtime-benchmarks",
  155. "pallet-balances/runtime-benchmarks",
  156. "pallet-collective/runtime-benchmarks",
  157. "pallet-im-online/runtime-benchmarks",
  158. "pallet-indices/runtime-benchmarks",
  159. "pallet-staking/runtime-benchmarks",
  160. "pallet-timestamp/runtime-benchmarks",
  161. "frame-benchmarking",
  162. "frame-system-benchmarking",
  163. "pallet-offences-benchmarking",
  164. "pallet-session-benchmarking",
  165. ]