lamarge 0.9.0

Client for the LaMarge API: sign-in, takes, transfers, withdrawals and market making, each request checked before it is signed.
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.94.1"
name = "lamarge"
version = "0.9.0"
authors = ["Snowbl Capital"]
build = false
include = [
    "src/**/*.rs",
    "examples/**",
    "tests/live.rs",
    "README.md",
    "CHANGELOG.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client for the LaMarge API: sign-in, takes, transfers, withdrawals and market making, each request checked before it is signed."
homepage = "https://docs.lamarge.trade/rust-sdk"
documentation = "https://docs.rs/lamarge"
readme = "README.md"
keywords = [
    "lamarge",
    "ethereum",
    "eip712",
    "trading",
    "sdk",
]
categories = [
    "api-bindings",
    "cryptography::cryptocurrencies",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/snowbl-capital/lamarge-sdk-rs"

[package.metadata.docs.rs]
all-features = true

[features]
aws-lc-rs = ["rustls/aws_lc_rs"]
default = ["aws-lc-rs"]
ring = ["rustls/ring"]

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

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

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

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

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

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

[dependencies.alloy-dyn-abi]
version = "1.7.3"
features = [
    "std",
    "eip712",
]
default-features = false

[dependencies.alloy-primitives]
version = "1.7.3"
features = [
    "std",
    "serde",
    "k256",
]
default-features = false

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

[dependencies.alloy-sol-types]
version = "1.7.3"
features = [
    "std",
    "eip712-serde",
]
default-features = false

[dependencies.chrono]
version = "0.4.45"
features = [
    "std",
    "serde",
    "clock",
]
default-features = false

[dependencies.fastrand]
version = "2.5.0"

[dependencies.futures-core]
version = "0.3.34"
features = ["std"]
default-features = false

[dependencies.futures-util]
version = "0.3.34"
features = [
    "std",
    "sink",
]
default-features = false

[dependencies.reqwest]
version = "0.13.5"
features = [
    "query",
    "http2",
    "system-proxy",
    "rustls-no-provider",
]
default-features = false

[dependencies.rustls]
version = "0.23.46"
features = [
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-platform-verifier]
version = "0.7.1"

[dependencies.serde]
version = "1.0.229"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.154"

[dependencies.thiserror]
version = "2.0.21"

[dependencies.tokio]
version = "1.54.1"
features = [
    "rt",
    "time",
    "sync",
    "net",
]
default-features = false

[dependencies.tokio-rustls]
version = "0.26.6"
default-features = false

[dependencies.tokio-tungstenite]
version = "0.30.0"
features = ["handshake"]
default-features = false

[dependencies.tracing]
version = "0.1.44"
features = ["std"]
default-features = false

[dependencies.uuid]
version = "1.29.2"
features = [
    "std",
    "serde",
    "v7",
]
default-features = false

[dev-dependencies.alloy-signer-local]
version = "2.5.0"
features = ["eip712"]

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

[dev-dependencies.serde-saphyr]
version = "2.1.1"

[dev-dependencies.serde_ignored]
version = "0.1.14"

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

[dev-dependencies.tokio]
version = "1.54.1"
features = [
    "macros",
    "rt-multi-thread",
    "test-util",
]

[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = ["fmt"]
default-features = false

[dev-dependencies.wiremock]
version = "0.6.5"

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
large_futures = "warn"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stdout = "deny"
result_large_err = "warn"
unwrap_used = "deny"

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

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

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"

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

[lints.rustdoc]
broken_intra_doc_links = "deny"