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.90"
name = "lexe"
version = "0.1.1"
authors = [
    "Max Fang <max@lexe.app>",
    "Philip Hayes <philip@lexe.app>",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lexe Rust SDK"
documentation = "https://rust.lexe.tech"
readme = "README.md"
license = "MIT"
repository = "https://github.com/lexe-app/lexe-public"
resolver = "2"

[features]
blocking = [
    "dep:async-compat",
    "dep:futures",
]
test-utils = ["dep:tempfile"]
unstable = []

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

[dependencies.anyhow]
version = "1"

[dependencies.async-compat]
version = "0.2"
optional = true

[dependencies.bip39]
version = "2"
features = ["zeroize"]
default-features = false

[dependencies.bitcoin]
version = "0.32.7"
features = ["serde"]

[dependencies.cfg-if]
version = "1"

[dependencies.futures]
version = "0.3"
features = ["executor"]
optional = true

[dependencies.lexe-api]
version = "0.1.1"

[dependencies.lexe-byte-array]
version = "0.1.1"

[dependencies.lexe-common]
version = "0.1.1"

[dependencies.lexe-crypto]
version = "0.1.1"

[dependencies.lexe-enclave]
version = "0.1.1"

[dependencies.lexe-hex]
version = "0.1.1"

[dependencies.lexe-logger]
version = "0.1.1"

[dependencies.lexe-node-client]
version = "0.1.1"

[dependencies.lexe-payment-uri]
version = "0.1.1"

[dependencies.lexe-std]
version = "0.1.1"

[dependencies.lexe-tokio]
version = "0.1.1"

[dependencies.lightning]
version = "0.1"
features = []

[dependencies.semver]
version = "1"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"

[dependencies.tempfile]
version = "3"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
]
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.lexe-api]
version = "0.1.1"
features = ["test-utils"]

[dev-dependencies.lexe-common]
version = "0.1.1"
features = ["test-utils"]

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

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

[dev-dependencies.tokio]
version = "1"
features = ["test-util"]
default-features = false