Cargo.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. [package]
  2. name = 'pallet-common'
  3. version = '3.1.1'
  4. authors = ['Joystream contributors']
  5. edition = '2018'
  6. [dependencies]
  7. serde = { version = "1.0.101", optional = true, features = ["derive"] }
  8. strum = {version = "0.19", optional = true}
  9. strum_macros = {version = "0.19", optional = true}
  10. codec = { package = 'parity-scale-codec', version = '1.3.4', default-features = false, features = ['derive'] }
  11. sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  12. frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  13. frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  14. pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  15. sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'}
  16. sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62' }
  17. [features]
  18. default = ['std']
  19. std = [
  20. 'serde',
  21. 'strum',
  22. 'strum_macros',
  23. 'codec/std',
  24. 'sp-runtime/std',
  25. 'sp-arithmetic/std',
  26. 'sp-std/std',
  27. 'frame-support/std',
  28. 'frame-system/std',
  29. 'pallet-timestamp/std',
  30. ]