trident-sdk 0.2.0

End-user SDK for Trident deposits and cross-chain spends
Documentation
# 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 = "2024"
rust-version = "1.86.0"
name = "trident-sdk"
version = "0.2.0"
build = false
include = [
    "src/**/*.rs",
    "examples/**/*.rs",
    "CHANGELOG.md",
    "README.md",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "End-user SDK for Trident deposits and cross-chain spends"
homepage = "https://github.com/tides-protocol/trident-lite"
readme = "README.md"
keywords = [
    "trident",
    "cross-chain",
    "sdk",
    "ethereum",
    "alloy",
]
categories = [
    "cryptography::cryptocurrencies",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/tides-protocol/trident-lite"

[lib]
name = "trident_sdk"
path = "src/lib.rs"

[[example]]
name = "balance_semantics"
path = "examples/balance_semantics.rs"

[[example]]
name = "deposit_evm"
path = "examples/deposit_evm.rs"

[[example]]
name = "spend_evm"
path = "examples/spend_evm.rs"

[dependencies.alloy-contract]
version = "1.0.27"
default-features = false

[dependencies.alloy-primitives]
version = "1.3.1"
default-features = false

[dependencies.alloy-provider]
version = "1.0.27"
default-features = false

[dependencies.alloy-signer]
version = "1.0.27"
default-features = false

[dependencies.alloy-sol-types]
version = "1.3.1"
default-features = false

[dependencies.async-trait]
version = "0.1.89"
default-features = false

[dependencies.prost]
version = "0.14.1"
features = [
    "derive",
    "std",
]
default-features = false

[dependencies.rand]
version = "0.9.2"
features = ["thread_rng"]
default-features = false

[dependencies.thiserror]
version = "2.0.16"
default-features = false

[dependencies.tonic]
version = "0.14.2"
features = [
    "codegen",
    "transport",
]
default-features = false

[dependencies.tonic-prost]
version = "0.14.2"
default-features = false

[dependencies.trident-evm-aa]
version = "0.3.0"
default-features = false

[dev-dependencies.alloy-signer-local]
version = "1.0.27"
default-features = false

[dev-dependencies.tokio]
version = "1.47.1"
features = [
    "rt",
    "macros",
]
default-features = false

[lints.clippy]
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
doc_markdown = "warn"
explicit_iter_loop = "warn"
implicit_clone = "warn"
manual_let_else = "warn"
needless_continue = "warn"
needless_pass_by_value = "warn"
print_stderr = "warn"
print_stdout = "warn"
semicolon_if_nothing_returned = "warn"
unnecessary_wraps = "warn"
unused_self = "warn"

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[lints.rust]
async_fn_in_trait = "allow"
unreachable_pub = "warn"
unused_must_use = "deny"