Cargo.toml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. [package]
  2. authors = ['Joystream contributors']
  3. build = 'build.rs'
  4. edition = '2018'
  5. name = 'joystream-node'
  6. version = '3.0.0'
  7. default-run = "joystream-node"
  8. [[bin]]
  9. name = 'joystream-node'
  10. path = 'bin/main.rs'
  11. [lib]
  12. crate-type = ["cdylib", "rlib"]
  13. #[dependencies]
  14. #derive_more = '0.14.0'
  15. #exit-future = '0.1.4'
  16. #hex = '0.4'
  17. [dependencies]
  18. # third-party dependencies
  19. codec = { package = "parity-scale-codec", version = "1.3.1" }
  20. serde = { version = "1.0.102", features = ["derive"] }
  21. futures = { version = "0.3.1", features = ["compat"] }
  22. hex-literal = "0.2.1"
  23. jsonrpc-core = "14.2.0"
  24. log = "0.4.8"
  25. rand = "0.7.2"
  26. structopt = { version = "0.3.8"}
  27. tracing = "0.1.10"
  28. parking_lot = "0.10.0"
  29. serde_json = '1.0'
  30. tokio = '0.1.22'
  31. # primitives
  32. sp-authority-discovery = { package = 'sp-authority-discovery', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  33. sp-consensus-babe = { package = 'sp-consensus-babe', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  34. sp-finality-grandpa = { package = 'sp-finality-grandpa', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  35. sp-core = { package = 'sp-core', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  36. sp-runtime = { package = 'sp-runtime', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  37. sp-timestamp = { package = 'sp-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  38. sp-finality-tracker = { package = 'sp-finality-tracker', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  39. sp-inherents = { package = 'sp-inherents', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  40. sp-keyring = { package = 'sp-keyring', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  41. sp-io = { package = 'sp-io', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  42. sp-consensus = { package = 'sp-consensus', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  43. sp-transaction-pool = { package = 'sp-transaction-pool', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  44. sp-api = { package = 'sp-api', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  45. sp-blockchain = { package = 'sp-blockchain', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  46. # client dependencies
  47. sc-client-api = { package = 'sc-client-api', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  48. sc-chain-spec = { package = 'sc-chain-spec', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  49. sc-consensus = { package = 'sc-consensus', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  50. sc-transaction-pool = { package = 'sc-transaction-pool', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  51. sc-network = { package = 'sc-network', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  52. sc-consensus-babe = { package = 'sc-consensus-babe', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  53. sc-finality-grandpa = { package = 'sc-finality-grandpa', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  54. sc-client-db = { package = 'sc-client-db', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  55. sc-offchain = { package = 'sc-offchain', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  56. sc-rpc = { package = 'sc-rpc', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  57. sc-basic-authorship = { package = 'sc-basic-authorship', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  58. sc-service = { package = 'sc-service', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  59. sc-tracing = { package = 'sc-tracing', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  60. sc-telemetry = { package = 'sc-telemetry', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  61. sc-authority-discovery = { package = 'sc-authority-discovery', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  62. sc-consensus-epochs = { package = 'sc-consensus-epochs', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  63. sc-keystore = { package = 'sc-keystore', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  64. sc-consensus-babe-rpc = { package = 'sc-consensus-babe-rpc', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  65. sc-finality-grandpa-rpc = { package = 'sc-finality-grandpa-rpc', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  66. sc-rpc-api = { package = 'sc-rpc-api', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  67. sp-block-builder = { package = 'sp-block-builder', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  68. pallet-contracts-rpc = { package = 'pallet-contracts-rpc', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  69. pallet-transaction-payment-rpc = { package = 'pallet-transaction-payment-rpc', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  70. substrate-frame-rpc-system = { package = 'substrate-frame-rpc-system', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  71. sc-executor = { package = 'sc-executor', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  72. frame-benchmarking = { package = 'frame-benchmarking', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  73. #sc-client-api = { version = "2.0.0-rc4", path = "../../../client/api" }
  74. #jsonrpc-core = "14.2.0"
  75. #node-primitives = { version = "2.0.0-rc4", path = "../primitives" }
  76. #node-runtime = { version = "2.0.0-rc4", path = "../runtime" }
  77. #sp-runtime = { version = "2.0.0-rc4", path = "../../../primitives/runtime" }
  78. #sp-api = { version = "2.0.0-rc4", path = "../../../primitives/api" }
  79. #pallet-contracts-rpc = { version = "0.8.0-rc4", path = "../../../frame/contracts/rpc/" }
  80. #pallet-transaction-payment-rpc = { version = "2.0.0-rc4", path = "../../../frame/transaction-payment/rpc/" }
  81. #substrate-frame-rpc-system = { version = "2.0.0-rc4", path = "../../../utils/frame/rpc/system" }
  82. #sp-transaction-pool = { version = "2.0.0-rc4", path = "../../../primitives/transaction-pool" }
  83. #sc-consensus-babe = { version = "0.8.0-rc4", path = "../../../client/consensus/babe" }
  84. #sc-consensus-babe-rpc = { version = "0.8.0-rc4", path = "../../../client/consensus/babe/rpc" }
  85. #sp-consensus-babe = { version = "0.8.0-rc4", path = "../../../primitives/consensus/babe" }
  86. #sc-keystore = { version = "2.0.0-rc4", path = "../../../client/keystore" }
  87. #sc-consensus-epochs = { version = "0.8.0-rc4", path = "../../../client/consensus/epochs" }
  88. #sp-consensus = { version = "0.8.0-rc4", path = "../../../primitives/consensus/common" }
  89. #sp-blockchain = { version = "2.0.0-rc4", path = "../../../primitives/blockchain" }
  90. #sc-finality-grandpa = { version = "0.8.0-rc4", path = "../../../client/finality-grandpa" }
  91. #sc-finality-grandpa-rpc = { version = "0.8.0-rc4", path = "../../../client/finality-grandpa/rpc" }
  92. #sc-rpc-api = { version = "0.8.0-rc4", path = "../../../client/rpc-api" }
  93. #sp-block-builder = { version = "2.0.0-rc4", path = "../../../primitives/block-builder" }
  94. # frame dependencies
  95. pallet-indices = { package = 'pallet-indices', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  96. pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  97. pallet-contracts = { package = 'pallet-contracts', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  98. frame-system = { package = 'frame-system', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  99. pallet-balances = { package = 'pallet-balances', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  100. pallet-transaction-payment = { package = 'pallet-transaction-payment', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  101. frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  102. pallet-im-online = { package = 'pallet-im-online', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  103. pallet-authority-discovery = { package = 'pallet-authority-discovery', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  104. pallet-staking = { package = 'pallet-staking', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  105. pallet-grandpa = { package = 'pallet-grandpa', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  106. # node-specific dependencies
  107. node-runtime = { package= "joystream-node-runtime", path = "../runtime" }
  108. # CLI-specific dependencies
  109. sc-cli = { package = 'sc-cli', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  110. frame-benchmarking-cli = { package = 'frame-benchmarking-cli', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  111. node-inspect = { package = 'node-inspect', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4' }
  112. # WASM-specific dependencies
  113. wasm-bindgen = { version = "0.2.57", optional = true }
  114. wasm-bindgen-futures = { version = "0.4.7", optional = true }
  115. browser-utils = { package = 'substrate-browser-utils', git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4', optional = true}
  116. #[dependencies.substrate-basic-authorship]
  117. #git = 'https://github.com/paritytech/substrate.git'
  118. #package = 'substrate-basic-authorship'
  119. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  120. #
  121. #[dependencies.babe]
  122. #git = 'https://github.com/paritytech/substrate.git'
  123. #package = 'substrate-consensus-babe'
  124. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  125. #
  126. #[dependencies.babe-primitives]
  127. #git = 'https://github.com/paritytech/substrate.git'
  128. #package = 'substrate-consensus-babe-primitives'
  129. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  130. #
  131. #[dependencies.codec]
  132. #package = 'parity-scale-codec'
  133. #version = '1.0.0'
  134. #
  135. #[dependencies.ctrlc]
  136. #features = ['termination']
  137. #version = '3.0'
  138. #
  139. #[dependencies.inherents]
  140. #git = 'https://github.com/paritytech/substrate.git'
  141. #package = 'substrate-inherents'
  142. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  143. #
  144. #[dependencies.network]
  145. #git = 'https://github.com/paritytech/substrate.git'
  146. #package = 'substrate-network'
  147. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  148. #
  149. #[dependencies.primitives]
  150. #git = 'https://github.com/paritytech/substrate.git'
  151. #package = 'substrate-primitives'
  152. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  153. #
  154. #[dependencies.sr-io]
  155. #git = 'https://github.com/paritytech/substrate.git'
  156. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  157. #
  158. #[dependencies.substrate-cli]
  159. #git = 'https://github.com/paritytech/substrate.git'
  160. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  161. #
  162. #[dependencies.substrate-client]
  163. #git = 'https://github.com/paritytech/substrate.git'
  164. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  165. #
  166. #[dependencies.substrate-executor]
  167. #git = 'https://github.com/paritytech/substrate.git'
  168. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  169. #
  170. #[dependencies.substrate-service]
  171. #git = 'https://github.com/paritytech/substrate.git'
  172. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  173. #
  174. #[dependencies.transaction-pool]
  175. #git = 'https://github.com/paritytech/substrate.git'
  176. #package = 'substrate-transaction-pool'
  177. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  178. #
  179. #[dependencies.substrate-telemetry]
  180. #git = 'https://github.com/paritytech/substrate.git'
  181. #package = 'substrate-telemetry'
  182. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  183. #
  184. #[dependencies.grandpa]
  185. #git = 'https://github.com/paritytech/substrate.git'
  186. #package = 'substrate-finality-grandpa'
  187. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  188. #
  189. #[dependencies.grandpa-primitives]
  190. #git = 'https://github.com/paritytech/substrate.git'
  191. #package = 'substrate-finality-grandpa-primitives'
  192. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  193. #
  194. #[dependencies.im-online]
  195. #default_features = false
  196. #git = 'https://github.com/paritytech/substrate.git'
  197. #package = 'srml-im-online'
  198. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  199. #
  200. #[dependencies.substrate-rpc]
  201. #default_features = false
  202. #git = 'https://github.com/paritytech/substrate.git'
  203. #package = 'substrate-rpc'
  204. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  205. #
  206. #[dependencies.authority-discovery]
  207. #default_features = false
  208. #git = 'https://github.com/paritytech/substrate.git'
  209. #package = 'substrate-authority-discovery'
  210. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  211. #
  212. #[dependencies.client-db]
  213. #default_features = false
  214. #git = 'https://github.com/paritytech/substrate.git'
  215. #package = 'substrate-client-db'
  216. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  217. #
  218. #[dependencies.runtime-primitives]
  219. #default_features = false
  220. #git = 'https://github.com/paritytech/substrate.git'
  221. #package = 'sr-primitives'
  222. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  223. #
  224. #[dependencies.offchain]
  225. #default_features = false
  226. #git = 'https://github.com/paritytech/substrate.git'
  227. #package = 'substrate-offchain'
  228. #rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  229. #
  230. #[dependencies.libp2p]
  231. #version = '0.13.2'
  232. #default-features = false
  233. [build-dependencies]
  234. vergen = '3'