bullet-exchange-interface 0.1.1

Type definitions and message formats for the Bullet exchange protocol.
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"
name = "bullet-exchange-interface"
version = "0.1.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type definitions and message formats for the Bullet exchange protocol."
homepage = "https://www.bullet.xyz"
readme = "README.md"
keywords = [
    "bullet",
    "trading",
    "exchange",
]
categories = [
    "api-bindings",
    "encoding",
]
license = "MIT"
repository = "https://github.com/bulletxyz/bullet-exchange-interface"

[features]
default = []
schema = ["dep:sov-universal-wallet"]

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

[[example]]
name = "trim"
path = "examples/trim.rs"
required-features = ["schema"]

[dependencies.borsh]
version = "1.5"

[dependencies.bullet-bs58]
version = "0.1"

[dependencies.hex]
version = "0.4"
features = ["serde"]

[dependencies.rust_decimal]
version = "1.41"
features = [
    "maths",
    "borsh",
]

[dependencies.schemars]
version = "0.8"
features = ["rust_decimal"]

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.sov-universal-wallet]
version = "0.3"
features = [
    "serde",
    "macros",
]
optional = true

[dependencies.strum]
version = "0.26"
features = ["derive"]

[dependencies.thiserror]
version = "2"

[lints.clippy]
arithmetic_side_effects = "warn"
debug_assert_with_mut_call = "deny"
doc_link_with_quotes = "deny"
inefficient_to_string = "deny"
manual_ok_or = "deny"
map_flatten = "deny"
match_same_arms = "deny"
needless_collect = "warn"
or_fun_call = "warn"
redundant_clone = "warn"
semicolon_if_nothing_returned = "deny"
trivial_regex = "warn"
unnecessary_lazy_evaluations = "warn"

[lints.rust]
dead_code = "deny"
non_ascii_idents = "deny"