Cargo.toml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [package]
  2. name = 'substrate-stake-module'
  3. version = '2.0.0'
  4. authors = ['Joystream contributors']
  5. edition = '2018'
  6. [dependencies]
  7. hex-literal = '0.1.0'
  8. serde = { version = '1.0', optional = true }
  9. serde_derive = { version = '1.0', optional = true }
  10. rstd = { package = 'sr-std', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'}
  11. runtime-primitives = { package = 'sr-primitives', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'}
  12. srml-support = { package = 'srml-support', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'}
  13. srml-support-procedural = { package = 'srml-support-procedural', git = 'https://github.com/paritytech/substrate.git', rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'}
  14. system = { package = 'srml-system', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'}
  15. balances = { package = 'srml-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'}
  16. codec = { package = 'parity-scale-codec', version = '1.0.0', default-features = false, features = ['derive'] }
  17. # https://users.rust-lang.org/t/failure-derive-compilation-error/39062
  18. quote = '<=1.0.2'
  19. [dependencies.timestamp]
  20. default_features = false
  21. git = 'https://github.com/paritytech/substrate.git'
  22. package = 'srml-timestamp'
  23. rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  24. [dependencies.runtime-io]
  25. default_features = false
  26. git = 'https://github.com/paritytech/substrate.git'
  27. package = 'sr-io'
  28. rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  29. [dev-dependencies]
  30. runtime-io = { package = 'sr-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'}
  31. primitives = { package = 'substrate-primitives', git = 'https://github.com/paritytech/substrate.git', rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'}
  32. [features]
  33. default = ['std']
  34. std = [
  35. 'serde',
  36. 'serde_derive',
  37. 'codec/std',
  38. 'rstd/std',
  39. 'runtime-io/std',
  40. 'runtime-primitives/std',
  41. 'srml-support/std',
  42. 'system/std',
  43. 'balances/std',
  44. 'timestamp/std',
  45. ]