# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "linera-ethereum" version = "0.13.1" authors = ["Linera "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Oracle functionality for Ethereum" homepage = "https://linera.dev" documentation = "https://docs.rs/linera-ethereum/latest/linera_ethereum/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/linera-io/linera-protocol" [package.metadata.docs.rs] features = ["ethereum"] [lib] name = "linera_ethereum" path = "src/lib.rs" [[test]] name = "ethereum_test" path = "tests/ethereum_test.rs" [dependencies.anyhow] version = "1.0.80" [dependencies.async-lock] version = "3.3.0" [dependencies.async-trait] version = "0.1.77" [dependencies.linera-base] version = "0.13.1" [dependencies.num-bigint] version = "0.4.3" [dependencies.num-traits] version = "0.2.18" [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "1.0.114" features = ["raw_value"] [dependencies.thiserror] version = "1.0.65" [build-dependencies.cfg_aliases] version = "0.2.1" [features] ethereum = [] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.linera-alloy] version = "0.1.0" features = [ "rpc-types-eth", "provider-http", "json-rpc", "node-bindings", "signer-wallet", "network", "contract", ] default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1.36.0" features = ["full"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.url] version = "2.4" [target.'cfg(target_arch = "wasm32")'.dependencies.linera-alloy] version = "0.1.0" features = ["rpc-types-eth"] default-features = false