# 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.92"
name = "deadeye-cli"
version = "0.1.4"
authors = ["Deadeye Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Market-maker-grade command-line interface for the Deadeye Rust SDK."
homepage = "https://github.com/teddyjfpender/deadeye-rs"
readme = "README.md"
keywords = [
    "starknet",
    "prediction-markets",
    "amm",
    "market-making",
    "sdk",
]
categories = [
    "api-bindings",
    "finance",
    "cryptography::cryptocurrencies",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/teddyjfpender/deadeye-rs"

[[bin]]
name = "deadeye"
path = "src/main.rs"

[[test]]
name = "cli_smoke"
path = "tests/cli_smoke.rs"

[[test]]
name = "cli_write_paths"
path = "tests/cli_write_paths.rs"

[[test]]
name = "deploy_math_runtime"
path = "tests/deploy_math_runtime.rs"

[dependencies.anyhow]
version = "1"
features = ["std"]
default-features = false

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
    "wrap_help",
]

[dependencies.comfy-table]
version = "7"
default-features = false

[dependencies.deadeye-core]
version = "0.1.0"
features = ["std"]

[dependencies.deadeye-deployer]
version = "0.1.1"

[dependencies.deadeye-indexer]
version = "0.1.0"
features = ["client"]

[dependencies.deadeye-sdk]
version = "0.1.5"

[dependencies.deadeye-starknet]
version = "0.1.1"
default-features = false

[dependencies.dirs]
version = "5"

[dependencies.futures]
version = "0.3"
features = [
    "std",
    "alloc",
    "async-await",
]
default-features = false

[dependencies.owo-colors]
version = "4"
features = ["supports-colors"]
default-features = false

[dependencies.rand]
version = "0.8"
features = [
    "std",
    "std_rng",
]
default-features = false

[dependencies.serde]
version = "1"
features = [
    "std",
    "derive",
]
default-features = false

[dependencies.serde_json]
version = "1"
features = ["std"]
default-features = false

[dependencies.starknet-accounts]
version = "0.16"
default-features = false

[dependencies.starknet-contract]
version = "0.16"
default-features = false

[dependencies.starknet-core]
version = "0.16"
features = ["std"]
default-features = false

[dependencies.starknet-providers]
version = "0.16"
default-features = false

[dependencies.tokio]
version = "1.43"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "signal",
    "time",
]
default-features = false

[dependencies.toml]
version = "0.8"
features = [
    "parse",
    "display",
]
default-features = false

[dependencies.tracing]
version = "0.1"
features = [
    "std",
    "attributes",
]
default-features = false

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "registry",
    "fmt",
    "env-filter",
]
default-features = false

[dependencies.url]
version = "2"
features = ["std"]
default-features = false

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.deadeye-core]
version = "0.1.0"

[dev-dependencies.deadeye-deployer]
version = "0.1.1"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.serde_json]
version = "1"
features = ["std"]
default-features = false

[dev-dependencies.starknet-core]
version = "0.16"
features = ["std"]
default-features = false

[dev-dependencies.starknet-providers]
version = "0.16"
default-features = false

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1.43"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]
default-features = false

[lints.clippy]
allow_attributes_without_reason = "deny"
assertions_on_result_states = "deny"
big_endian_bytes = "deny"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_ref_ptr = "deny"
create_dir = "deny"
dbg_macro = "deny"
deref_by_slicing = "warn"
disallowed_script_idents = "deny"
empty_drop = "deny"
empty_enum_variants_with_brackets = "deny"
empty_structs_with_brackets = "deny"
exit = "deny"
filetype_is_file = "deny"
float_cmp_const = "deny"
fn_to_numeric_cast_any = "deny"
format_push_string = "warn"
future_not_send = "allow"
get_unwrap = "deny"
host_endian_bytes = "deny"
infinite_loop = "deny"
lossy_float_literal = "deny"
mem_forget = "deny"
missing_assert_message = "warn"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mixed_read_write_in_expression = "deny"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
multiple_inherent_impl = "warn"
must_use_candidate = "allow"
mutex_atomic = "deny"
option_if_let_else = "allow"
panic = "warn"
panic_in_result_fn = "deny"
pathbuf_init_then_push = "deny"
print_stderr = "warn"
print_stdout = "warn"
pub_without_shorthand = "deny"
rc_buffer = "deny"
rc_mutex = "deny"
ref_patterns = "warn"
rest_pat_in_fully_bound_structs = "deny"
same_name_method = "deny"
self_named_module_files = "deny"
semicolon_inside_block = "warn"
shadow_unrelated = "warn"
similar_names = "allow"
str_to_string = "deny"
string_add = "deny"
string_slice = "deny"
suspicious_xor_used_as_pow = "deny"
tests_outside_test_module = "deny"
todo = "warn"
too_many_lines = "allow"
try_err = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "warn"
unnecessary_safety_comment = "deny"
unnecessary_safety_doc = "deny"
unnecessary_self_imports = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
verbose_file_reads = "warn"
wildcard_enum_match_arm = "warn"

[lints.clippy.all]
level = "deny"
priority = -2

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

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

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

[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
trivial_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_lifetimes = "warn"

[lints.rust.nonstandard_style]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
