[package]
edition = "2021"
name = "safe-rs"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust library for Safe v1.4.1 smart account interaction"
readme = "README.md"
keywords = [
"ethereum",
"safe",
"multisig",
"smart-account",
]
categories = [
"cryptography",
"web-programming",
]
license = "MIT"
repository = "https://github.com/tynes/safe-rs"
[lib]
name = "safe_rs"
path = "src/lib.rs"
[[example]]
name = "multicall_erc20"
path = "examples/multicall_erc20.rs"
[[example]]
name = "simple_transfer"
path = "examples/simple_transfer.rs"
[[example]]
name = "simulation_only"
path = "examples/simulation_only.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[dependencies.alloy]
version = "1.4"
features = [
"full",
"signer-local",
"rpc-types-trace",
]
[dependencies.alloy-primitives]
version = "1.4"
[dependencies.alloy-sol-types]
version = "1.4"
[dependencies.chrono]
version = "0.4"
features = [
"std",
"clock",
]
default-features = false
[dependencies.foundry-fork-db]
version = "0.22"
[dependencies.revm]
version = "34"
features = [
"std",
"optional_eip3607",
]
default-features = false
[dependencies.revm-inspectors]
version = "0.34"
features = ["std"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.url]
version = "2"
[dev-dependencies.alloy]
version = "1.4"
features = [
"full",
"signer-local",
"rpc-types-trace",
"node-bindings",
]
[dev-dependencies.reqwest]
version = "0.12"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"macros",
]
[lints.clippy]
allow_attributes_without_reason = "deny"
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
collapsible_if = "allow"
dbg_macro = "deny"
default_trait_access = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
expect_used = "deny"
explicit_iter_loop = "allow"
fn_params_excessive_bools = "allow"
format_push_string = "allow"
if_not_else = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
no_effect_underscore_binding = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
redundant_closure_for_method_calls = "allow"
ref_option = "allow"
ref_option_ref = "allow"
result_large_err = "allow"
return_self_not_must_use = "allow"
self_named_constructors = "allow"
should_implement_trait = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
todo = "deny"
too_many_arguments = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unimplemented = "deny"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_used = "deny"
used_underscore_binding = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1