[package]
edition = "2021"
rust-version = "1.88"
name = "neo-devpack-solidity"
version = "0.22.0"
authors = ["Jimmy <jimmy@r3e.network>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-focused Solidity-to-NeoVM compilation system"
homepage = "https://github.com/r3e-network/neo-devpack-solidity"
documentation = "https://docs.r3e.network/neo-devpack-solidity"
readme = "README.md"
keywords = [
"neo",
"solidity",
"smart-contracts",
"neovm",
"compiler",
]
categories = [
"compilers",
"development-tools",
"cryptography",
]
license = "MIT"
repository = "https://github.com/r3e-network/neo-devpack-solidity"
[lib]
name = "neo_devpack_solidity"
path = "src/lib.rs"
[[bin]]
name = "neo-solc"
path = "src/main.rs"
[[test]]
name = "analyzer_cli_tests"
path = "tests/analyzer_cli_tests.rs"
[[test]]
name = "arith_narrow_literal_tests"
path = "tests/arith_narrow_literal_tests.rs"
[[test]]
name = "boundary_tests"
path = "tests/boundary_tests.rs"
[[test]]
name = "conformance_tests"
path = "tests/conformance_tests.rs"
[[test]]
name = "e2e_compilation_tests"
path = "tests/e2e_compilation_tests.rs"
[[test]]
name = "error_handling_tests"
path = "tests/error_handling_tests.rs"
[[test]]
name = "famous_contracts_compile"
path = "tests/famous_contracts_compile.rs"
[[test]]
name = "fix_abi_tests"
path = "tests/fix_abi_tests.rs"
[[test]]
name = "fix_deadcode_tests"
path = "tests/fix_deadcode_tests.rs"
[[test]]
name = "fix_devpack_tests"
path = "tests/fix_devpack_tests.rs"
[[test]]
name = "fix_manifest_tests"
path = "tests/fix_manifest_tests.rs"
[[test]]
name = "fix_robustness_tests"
path = "tests/fix_robustness_tests.rs"
[[test]]
name = "fix_runtime_modules_tests"
path = "tests/fix_runtime_modules_tests.rs"
[[test]]
name = "fix_storage_tests"
path = "tests/fix_storage_tests.rs"
[[test]]
name = "function_pointer_calla_tests"
path = "tests/function_pointer_calla_tests.rs"
[[test]]
name = "fuzz_tests"
path = "tests/fuzz_tests.rs"
[[test]]
name = "gap_events_native_tests"
path = "tests/gap_events_native_tests.rs"
[[test]]
name = "gap_hasrole_tests"
path = "tests/gap_hasrole_tests.rs"
[[test]]
name = "gap_nep11_tests"
path = "tests/gap_nep11_tests.rs"
[[test]]
name = "gap_runtime-local_tests"
path = "tests/gap_runtime-local_tests.rs"
[[test]]
name = "runtime_account_tests"
path = "tests/runtime_account_tests.rs"
[[test]]
name = "runtime_array_tests"
path = "tests/runtime_array_tests.rs"
[[test]]
name = "runtime_assert_tests"
path = "tests/runtime_assert_tests.rs"
[[test]]
name = "runtime_buffer_tests"
path = "tests/runtime_buffer_tests.rs"
[[test]]
name = "runtime_contract_management_tests"
path = "tests/runtime_contract_management_tests.rs"
[[test]]
name = "runtime_crypto_hash_tests"
path = "tests/runtime_crypto_hash_tests.rs"
[[test]]
name = "runtime_edge_tests"
path = "tests/runtime_edge_tests.rs"
[[test]]
name = "runtime_exception_tests"
path = "tests/runtime_exception_tests.rs"
[[test]]
name = "runtime_flow_tests"
path = "tests/runtime_flow_tests.rs"
[[test]]
name = "runtime_gas_tests"
path = "tests/runtime_gas_tests.rs"
[[test]]
name = "runtime_iterator_dispose_tests"
path = "tests/runtime_iterator_dispose_tests.rs"
[[test]]
name = "runtime_logic_tests"
path = "tests/runtime_logic_tests.rs"
[[test]]
name = "runtime_metadata"
path = "tests/runtime_metadata.rs"
[[test]]
name = "runtime_native_contract_tests"
path = "tests/runtime_native_contract_tests.rs"
[[test]]
name = "runtime_return_tests"
path = "tests/runtime_return_tests.rs"
[[test]]
name = "runtime_size_tests"
path = "tests/runtime_size_tests.rs"
[[test]]
name = "runtime_state_batch_tests"
path = "tests/runtime_state_batch_tests.rs"
[[test]]
name = "runtime_stdlib_binary_serialize_tests"
path = "tests/runtime_stdlib_binary_serialize_tests.rs"
[[test]]
name = "runtime_storage_iterator_tests"
path = "tests/runtime_storage_iterator_tests.rs"
[[test]]
name = "runtime_syscall_tests"
path = "tests/runtime_syscall_tests.rs"
[[test]]
name = "runtime_value_map_tests"
path = "tests/runtime_value_map_tests.rs"
[[test]]
name = "runtime_verify_ecdsa_tests"
path = "tests/runtime_verify_ecdsa_tests.rs"
[[test]]
name = "selector_struct_enum_tests"
path = "tests/selector_struct_enum_tests.rs"
[[test]]
name = "standard_json_cli_tests"
path = "tests/standard_json_cli_tests.rs"
[[test]]
name = "uint256_literal_warning_tests"
path = "tests/uint256_literal_warning_tests.rs"
[[test]]
name = "unit_tests"
path = "tests/unit_tests.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.blake2]
version = "0.10"
[dependencies.bls12_381]
version = "0.8"
[dependencies.clap]
version = "4.0"
features = ["derive"]
[dependencies.dashmap]
version = "5.0"
[dependencies.group]
version = "0.13"
[dependencies.hex]
version = "0.4"
[dependencies.num-bigint]
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[dependencies.once_cell]
version = "1.0"
[dependencies.p256]
version = "0.13"
features = ["ecdsa"]
[dependencies.rayon]
version = "1.7"
[dependencies.regex]
version = "1.0"
[dependencies.ripemd]
version = "0.1"
[dependencies.secp256k1]
version = "0.27"
features = ["recovery"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.sha3]
version = "0.10"
[dependencies.solang-parser]
version = "0.3.9"
package = "foundry-solang-parser"
[dependencies.stacker]
version = "0.1"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
[dev-dependencies.base64]
version = "0.21"
[dev-dependencies.bs58]
version = "0.5"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.murmur3]
version = "0.5"
[dev-dependencies.p256]
version = "0.13"
features = ["ecdsa"]
[dev-dependencies.pretty_assertions]
version = "1.0"
[dev-dependencies.proptest]
version = "1.0"
[dev-dependencies.quickcheck]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.0"
[lints.clippy]
enum_glob_use = "warn"
explicit_into_iter_loop = "warn"
flat_map_option = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
manual_let_else = "allow"
map_unwrap_or = "allow"
semicolon_if_nothing_returned = "allow"
uninlined_format_args = "warn"
unused_self = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unused_must_use = "warn"
[profile.bench]
debug = 2
inherits = "release"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"