# 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 = "quay-vm"
version = "0.0.2"
build = false
include = [
    "/src/**/*.rs",
    "/tests/**/*.rs",
    "/LICENSE",
    "/SPEC.md",
    "/README.md",
    "/COMPILER.md",
    "/DSL_FEATURES.md",
    "/DSL_SPEC_PROPOSED.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stack-based pricing-DSL bytecode interpreter for the Quay DEX. no_std, runs bit-identically on Solana BPF and off-chain (routers, simulators, dashboards)."
readme = "README.md"
license = "BUSL-1.1"

[features]
default = ["std"]
std = []

[lib]
name = "quay_vm"
crate-type = ["lib"]
path = "src/lib.rs"

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

[dependencies]

[dev-dependencies.proptest]
version = "1.6"

[lints.clippy]
bool_to_int_with_if = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
checked_conversions = "allow"
dbg_macro = "deny"
default_trait_access = "allow"
doc_lazy_continuation = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
enum_variant_names = "allow"
exit = "deny"
expect_used = "warn"
explicit_iter_loop = "allow"
identity_op = "allow"
inline_always = "allow"
items_after_statements = "allow"
let_underscore_untyped = "allow"
manual_div_ceil = "allow"
manual_let_else = "allow"
manual_midpoint = "allow"
manual_range_contains = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
mem_forget = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_borrow = "allow"
needless_pass_by_value = "allow"
needless_range_loop = "allow"
no_effect_underscore_binding = "allow"
panic = "warn"
panic_in_result_fn = "deny"
ptr_as_ptr = "allow"
pub_underscore_fields = "allow"
range_plus_one = "allow"
redundant_closure_for_method_calls = "allow"
result_large_err = "allow"
similar_names = "allow"
single_match_else = "allow"
stable_sort_primitive = "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_cast = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unused_self = "allow"
unwrap_used = "warn"
useless_conversion = "allow"
verbose_bit_mask = "allow"

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

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
