Cargo.toml 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. [package]
  2. name = 'substrate-referendum-module'
  3. version = '1.0.0'
  4. authors = ['Joystream contributors']
  5. edition = '2018'
  6. [dependencies]
  7. codec = { package = 'parity-scale-codec', version = '1.0.0', default-features = false, features = ['derive'] }
  8. serde = { version = '1.0.101', optional = true}
  9. sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  10. sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  11. sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  12. frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  13. system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  14. [dev-dependencies]
  15. sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '00768a1f21a579c478fe5d4f51e1fa71f7db9fd4'}
  16. rand = "0.7.3"
  17. [features]
  18. default = ['std']
  19. std = [
  20. 'codec/std',
  21. 'sp-core/std',
  22. 'sp-io/std',
  23. 'serde',
  24. 'sp-runtime/std',
  25. 'sp-arithmetic/std',
  26. 'frame-support/std',
  27. 'system/std',
  28. ]