Cargo.toml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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.14.0'
  8. [dependencies]
  9. # Third-party dependencies
  10. serde = { version = "1.0.101", optional = true }
  11. codec = { package = 'parity-scale-codec', version = '1.3.4', 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. hex-literal = { optional = true, version = '0.3.1' }
  57. # Joystream
  58. common = { package = 'pallet-common', default-features = false, path = '../runtime-modules/common'}
  59. memo = { package = 'pallet-memo', default-features = false, path = '../runtime-modules/memo'}
  60. forum = { package = 'pallet-forum', default-features = false, path = '../runtime-modules/forum'}
  61. membership = { package = 'pallet-membership', default-features = false, path = '../runtime-modules/membership'}
  62. stake = { package = 'pallet-stake', default-features = false, path = '../runtime-modules/stake'}
  63. governance = { package = 'pallet-governance', default-features = false, path = '../runtime-modules/governance'}
  64. hiring = { package = 'pallet-hiring', default-features = false, path = '../runtime-modules/hiring'}
  65. minting = { package = 'pallet-token-mint', default-features = false, path = '../runtime-modules/token-minting'}
  66. recurring-rewards = { package = 'pallet-recurring-reward', default-features = false, path = '../runtime-modules/recurring-reward'}
  67. working-group = { package = 'pallet-working-group', default-features = false, path = '../runtime-modules/working-group'}
  68. storage = { package = 'pallet-storage', default-features = false, path = '../runtime-modules/storage'}
  69. proposals-engine = { package = 'pallet-proposals-engine', default-features = false, path = '../runtime-modules/proposals/engine'}
  70. proposals-discussion = { package = 'pallet-proposals-discussion', default-features = false, path = '../runtime-modules/proposals/discussion'}
  71. proposals-codex = { package = 'pallet-proposals-codex', default-features = false, path = '../runtime-modules/proposals/codex'}
  72. content = { package = 'pallet-content', default-features = false, path = '../runtime-modules/content' }
  73. [dev-dependencies]
  74. sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  75. strum = {version = "0.19", default-features = false}
  76. [build-dependencies]
  77. wasm-builder-runner = { version = "1.0.5", package = "substrate-wasm-builder-runner", git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62' }
  78. [features]
  79. default = ['std']
  80. no_std = []
  81. std = [
  82. # Third-party dependencies
  83. 'serde',
  84. 'codec/std',
  85. # Substrate primitives
  86. 'sp-std/std',
  87. 'sp-core/std',
  88. 'sp-api/std',
  89. 'sp-version/std',
  90. 'sp-runtime/std',
  91. 'sp-arithmetic/std',
  92. 'sp-offchain/std',
  93. 'sp-authority-discovery/std',
  94. 'sp-consensus-babe/std',
  95. 'sp-transaction-pool/std',
  96. 'sp-block-builder/std',
  97. 'sp-session/std',
  98. 'sp-staking/std',
  99. 'sp-application-crypto/std',
  100. # Frame
  101. 'frame-support/std',
  102. 'frame-executive/std',
  103. 'frame-system-rpc-runtime-api/std',
  104. 'frame-system/std',
  105. # Pallets
  106. 'pallet-timestamp/std',
  107. 'pallet-balances/std',
  108. 'pallet-transaction-payment/std',
  109. 'pallet-transaction-payment-rpc-runtime-api/std',
  110. 'pallet-grandpa/std',
  111. 'pallet-babe/std',
  112. 'pallet-session/std',
  113. 'pallet-finality-tracker/std',
  114. 'pallet-authority-discovery/std',
  115. 'pallet-authorship/std',
  116. 'pallet-randomness-collective-flip/std',
  117. 'pallet-staking/std',
  118. # 'pallet-staking-reward-curve/std', // don't have 'std' features
  119. 'pallet-sudo/std',
  120. 'pallet-im-online/std',
  121. 'pallet-collective/std',
  122. 'pallet-offences/std',
  123. 'substrate-utility/std',
  124. # Joystream
  125. 'common/std',
  126. 'memo/std',
  127. 'forum/std',
  128. 'membership/std',
  129. 'stake/std',
  130. 'governance/std',
  131. 'hiring/std',
  132. 'minting/std',
  133. 'recurring-rewards/std',
  134. 'working-group/std',
  135. 'storage/std',
  136. 'proposals-engine/std',
  137. 'proposals-discussion/std',
  138. 'proposals-codex/std',
  139. 'content/std',
  140. ]
  141. runtime-benchmarks = [
  142. 'frame-system/runtime-benchmarks',
  143. 'frame-support/runtime-benchmarks',
  144. 'sp-runtime/runtime-benchmarks',
  145. 'pallet-balances/runtime-benchmarks',
  146. 'pallet-collective/runtime-benchmarks',
  147. 'pallet-im-online/runtime-benchmarks',
  148. 'pallet-staking/runtime-benchmarks',
  149. 'pallet-timestamp/runtime-benchmarks',
  150. 'frame-benchmarking',
  151. 'frame-system-benchmarking',
  152. 'pallet-offences-benchmarking',
  153. 'pallet-session-benchmarking',
  154. 'substrate-utility/runtime-benchmarks',
  155. 'storage/runtime-benchmarks',
  156. "hex-literal",
  157. ]