Cargo.toml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. [package]
  2. name = "solang"
  3. version = "0.3.1"
  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.68.0"
  12. edition = "2021"
  13. exclude = [ "/.*", "/docs", "/examples", "/solana-library", "/tests", "/integration", "/vscode", "/testdata" ]
  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 = {version = "4.1", features = ["derive"]}
  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.2.0", features = ["target-webassembly", "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.3.1" }
  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_env = "4.2.0"
  56. ink_metadata = "4.2.0"
  57. scale-info = "2.4"
  58. petgraph = "0.6.3"
  59. wasmparser = "0.106.0"
  60. wasm-encoder = "0.28"
  61. toml = "0.7"
  62. wasm-opt = { version = "0.112.0", optional = true }
  63. contract-build = { version = "3.0.1", optional = true }
  64. [dev-dependencies]
  65. num-derive = "0.3"
  66. primitive-types = { version = "0.12", features = ["codec"] }
  67. wasmi = "0.29"
  68. # rand version 0.7 is needed for ed25519_dalek::keypair::generate, used in solana_tests/signature_verify.rs
  69. rand_07 = { package = "rand", version = "0.7" }
  70. sha2 = "0.10"
  71. # solana_rbpf makes api changes in patch versions
  72. solana_rbpf = "=0.2.38"
  73. byteorder = "1.4"
  74. assert_cmd = "2.0"
  75. bincode = "1.3"
  76. ed25519-dalek = "1.0"
  77. path-slash = "0.2"
  78. pretty_assertions = "1.3"
  79. byte-slice-cast = "1.2"
  80. borsh = "0.10"
  81. tempfile = "3.3"
  82. rayon = "1"
  83. walkdir = "2.3.3"
  84. ink_primitives = "4.2.0"
  85. wasm_host_attr = { path = "tests/wasm_host_attr" }
  86. [package.metadata.docs.rs]
  87. no-default-features = true
  88. [profile.release]
  89. lto = true
  90. [features]
  91. default = ["llvm", "wasm_opt"]
  92. llvm = ["inkwell", "libc"]
  93. wasm_opt = ["llvm", "wasm-opt", "contract-build"]
  94. [workspace]
  95. members = ["solang-parser", "tests/wasm_host_attr"]