# 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"
rust-version = "1.76"
name = "linera-alloy-transport"
version = "0.1.0"
authors = ["Alloy Contributors"]
exclude = [
    "benches/",
    "tests/",
]
description = "Low-level Ethereum JSON-RPC transport abstraction"
homepage = "https://github.com/MathieuDutSik/alloy"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/MathieuDutSik/alloy"

[dependencies.base64]
version = "0.22"

[dependencies.futures-util]
version = "0.3"

[dependencies.futures-utils-wasm]
version = "0.1"

[dependencies.linera-alloy-json-rpc]
version = "0.1.0"
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
default-features = false

[dependencies.serde_json]
version = "1.0"
features = [
    "alloc",
    "raw_value",
]
default-features = false

[dependencies.thiserror]
version = "1.0"

[dependencies.tower]
version = "0.4"
features = ["util"]

[dependencies.url]
version = "2.5"

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio]
version = "1"
features = ["rt"]

[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures]
version = "0.4"

[lints.clippy]
all = "warn"
missing_const_for_fn = "warn"
option_if_let_else = "warn"
use_self = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
rust_2018_idioms = "deny"
unreachable_pub = "warn"
unused_must_use = "deny"

[lints.rustdoc]
all = "warn"