Cargo.toml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. [package]
  2. name = "solang"
  3. version = "0.2.3"
  4. authors = ["Sean Young <sean@mess.org>", "Lucas Steuernagel <lucas.tnagel@gmail.com>", "Cyrill Leutwiler <bigcyrill@hotmail.com>"]
  5. homepage = "https://github.com/hyperledger/solang"
  6. documentation = "https://solang.readthedocs.io/"
  7. license = "Apache-2.0"
  8. build = "build.rs"
  9. description = "Solang Solidity Compiler"
  10. keywords = [ "solidity", "compiler", "solana", "substrate" ]
  11. rust-version = "1.65.0"
  12. edition = "2021"
  13. exclude = [ "/.*", "/docs", "/examples", "/solana-library", "/tests", "/integration", "/vscode" ]
  14. [build-dependencies]
  15. cc = "1.0"
  16. [dependencies]
  17. regex = "1"
  18. rand = "0.8"
  19. num-bigint = { version = "0.4", features = ["rand"]}
  20. num-traits = "0.2"
  21. num-integer = "0.1"
  22. clap = "4.1"
  23. clap_complete = "4.1"
  24. hex = "0.4"
  25. tiny-keccak = { version = "2.0", features = ["keccak"] }
  26. serde_json = "1.0"
  27. serde = "1.0"
  28. serde_derive = { version = "1.0" }
  29. inkwell = { version = "0.1.1", features = ["target-webassembly", "target-bpf", "no-libffi-linking", "llvm15-0"], optional = true }
  30. blake2-rfc = "0.2.18"
  31. handlebars = "4.3"
  32. contract-metadata = "2.1"
  33. semver = { version = "1.0", features = ["serde"] }
  34. tempfile = "3.4"
  35. libc = { version = "0.2", optional = true }
  36. tower-lsp = "0.19"
  37. tokio = { version = "1.27", features = ["rt", "io-std", "macros"] }
  38. base58 = "0.2.0"
  39. sha2 = "0.10"
  40. ripemd = "0.1"
  41. bitvec = "1"
  42. funty = "2.0"
  43. itertools = "0.10"
  44. num-rational = "0.4"
  45. indexmap = "1.9"
  46. once_cell = "1.17"
  47. solang-parser = { path = "solang-parser", version = "0.2.4" }
  48. codespan-reporting = "0.11"
  49. phf = { version = "0.11", features = ["macros"] }
  50. rust-lapper = "1.1"
  51. anchor-syn = { version = "0.27.0", features = ["idl"] }
  52. convert_case = "0.6"
  53. parse-display = "0.8.0"
  54. parity-scale-codec = "3.4"
  55. ink = "4.1.0"
  56. scale-info = "2.4"
  57. petgraph = "0.6.3"
  58. wasmparser = "0.102.0"
  59. wasm-encoder = "0.25"
  60. [dev-dependencies]
  61. num-derive = "0.3"
  62. primitive-types = { version = "0.12", features = ["codec"] }
  63. wasmi = "0.11"
  64. # rand version 0.7 is needed for ed25519_dalek::keypair::generate, used in solana_tests/signature_verify.rs
  65. rand_07 = { package = "rand", version = "0.7" }
  66. sha2 = "0.10"
  67. # solana_rbpf makes api changes in patch versions
  68. solana_rbpf = "=0.2.38"
  69. byteorder = "1.4"
  70. assert_cmd = "2.0"
  71. bincode = "1.3"
  72. ed25519-dalek = "1.0"
  73. path-slash = "0.2"
  74. pretty_assertions = "1.3"
  75. byte-slice-cast = "1.2"
  76. borsh = "0.10"
  77. tempfile = "3.3"
  78. rayon = "1"
  79. [package.metadata.docs.rs]
  80. no-default-features = true
  81. [profile.release]
  82. lto = true
  83. [features]
  84. default = ["llvm"]
  85. llvm = ["inkwell", "libc"]
  86. [workspace]
  87. members = ["solang-parser"]