# 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"
rust-version = "1.60.0"
name = "txoo"
version = "0.6.1"
authors = [
    "Devrandom <c1.devrandom@niftybox.net>",
    "Ken Sedgwick <ken@bonsai.com>",
]
description = "A Bitcoin transaction-output oracle"
homepage = "https://gitlab.com/lightning-signer/docs/-/blob/master/oracle.md"
readme = "README.md"
license = "Apache-2.0"
repository = "https://gitlab.com/lightning-signer/txoo"

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.bitcoin]
version = "0.29"
features = []
default-features = false

[dependencies.core2]
version = "0.3"
optional = true
default-features = false

[dependencies.hyper]
version = "0.14"
features = ["full"]
optional = true

[dependencies.hyper-rustls]
version = "0.24"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
optional = true
default-features = false

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.url]
version = "2.2"
optional = true

[features]
default = [
    "std",
    "prover",
    "source",
]
no-std = [
    "bitcoin/no-std",
    "core2/alloc",
]
prover = []
source = [
    "use-serde",
    "serde_yaml",
    "async-trait",
    "hyper",
    "hyper-rustls",
    "url",
]
std = [
    "bitcoin/std",
    "serde/std",
]
test-utils = []
use-serde = [
    "serde",
    "bitcoin/serde",
]
