Cargo.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [package]
  2. name = 'substrate-hiring-module'
  3. version = '1.0.2'
  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. mockall = {version = "0.7.1", optional = true}
  18. # https://users.rust-lang.org/t/failure-derive-compilation-error/39062
  19. quote = '<=1.0.2'
  20. [dependencies.stake]
  21. default_features = false
  22. package = 'substrate-stake-module'
  23. path = '../stake'
  24. [dependencies.timestamp]
  25. default_features = false
  26. git = 'https://github.com/paritytech/substrate.git'
  27. package = 'srml-timestamp'
  28. rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  29. [dependencies.runtime-io]
  30. default_features = false
  31. git = 'https://github.com/paritytech/substrate.git'
  32. package = 'sr-io'
  33. rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'
  34. [dev-dependencies]
  35. runtime-io = { package = 'sr-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'}
  36. primitives = { package = 'substrate-primitives', git = 'https://github.com/paritytech/substrate.git', rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8'}
  37. mockall = "0.7.1"
  38. [features]
  39. default = ['std']
  40. test = ['mockall']
  41. std = [
  42. 'serde',
  43. 'serde_derive',
  44. 'codec/std',
  45. 'rstd/std',
  46. 'runtime-io/std',
  47. 'runtime-primitives/std',
  48. 'srml-support/std',
  49. 'system/std',
  50. 'balances/std',
  51. 'timestamp/std',
  52. 'stake/std',
  53. ]