Cargo.toml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. [package]
  2. name = "solang"
  3. version = "0.3.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", "polkadot", "substrate" ]
  11. rust-version = "1.72.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.4"
  32. contract-metadata = "3.2"
  33. semver = { version = "1.0", features = ["serde"] }
  34. tempfile = "3.8"
  35. libc = { version = "0.2", optional = true }
  36. tower-lsp = "0.20"
  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.11"
  44. num-rational = "0.4"
  45. indexmap = "2.0"
  46. once_cell = "1.18"
  47. solang-parser = { path = "solang-parser", version = "0.3.3" }
  48. codespan-reporting = "0.11"
  49. phf = { version = "0.11", features = ["macros"] }
  50. rust-lapper = "1.1"
  51. anchor-syn = { version = "0.29.0", features = ["idl-build"] }
  52. convert_case = "0.6"
  53. parse-display = "0.8"
  54. parity-scale-codec = "3.6"
  55. ink_env = "4.3.0"
  56. ink_metadata = "4.3.0"
  57. scale-info = "2.9"
  58. petgraph = "0.6"
  59. wasmparser = "0.110.0"
  60. wasm-encoder = "0.31"
  61. toml = "0.8"
  62. wasm-opt = { version = "0.112.0", optional = true }
  63. contract-build = { version = "3.0.1", optional = true }
  64. primitive-types = { version = "0.12", features = ["codec"] }
  65. normalize-path = "0.2.1"
  66. bitflags = "2.3.3"
  67. forge-fmt = "0.2.0"
  68. [dev-dependencies]
  69. num-derive = "0.4"
  70. wasmi = "0.31"
  71. # solana_rbpf makes api changes in patch versions
  72. solana_rbpf = "=0.6.1"
  73. byteorder = "1.5"
  74. assert_cmd = "2.0"
  75. bincode = "1.3"
  76. ed25519-dalek = { version = "2", features = ["rand_core"] }
  77. path-slash = "0.2"
  78. pretty_assertions = "1.4"
  79. byte-slice-cast = "1.2"
  80. borsh = "1.1"
  81. borsh-derive = "1.1"
  82. rayon = "1"
  83. walkdir = "2.4"
  84. ink_primitives = "4.3.0"
  85. wasm_host_attr = { path = "tests/wasm_host_attr" }
  86. num-bigint = { version = "0.4", features = ["rand", "serde"]}
  87. [package.metadata.docs.rs]
  88. no-default-features = true
  89. [profile.release]
  90. lto = true
  91. [features]
  92. default = ["llvm", "wasm_opt"]
  93. llvm = ["inkwell", "libc"]
  94. wasm_opt = ["llvm", "wasm-opt", "contract-build"]
  95. [workspace]
  96. members = ["solang-parser", "tests/wasm_host_attr"]