# 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 = "gl-client"
version = "0.3.2"
authors = ["The Greenlight Team"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client library for Greenlight, and basis for language bindings."
readme = false
license = "MIT"
repository = "https://github.com/Blockstream/greenlight"

[features]
default = [
    "permissive",
    "export",
]
export = [
    "chacha20poly1305",
    "secp256k1",
]
permissive = []

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

[dependencies.anyhow]
version = "1.0.82"

[dependencies.async-stream]
version = "0.3.5"

[dependencies.async-trait]
version = "0.1.80"

[dependencies.base64]
version = "^0.21"

[dependencies.bech32]
version = "0.9.1"

[dependencies.bytes]
version = "1.2.1"

[dependencies.chacha20poly1305]
version = "0.10.1"
optional = true

[dependencies.chrono]
version = "0.4.31"

[dependencies.cln-grpc]
version = "0.4"

[dependencies.futures]
version = "0.3.30"

[dependencies.hex]
version = "0.4.3"

[dependencies.http]
version = "0.2"

[dependencies.http-body]
version = "^0.4"

[dependencies.log]
version = "^0.4"

[dependencies.mockall]
version = "0.11.4"

[dependencies.picky]
version = "6.3"

[dependencies.picky-asn1-der]
version = "0.4"

[dependencies.picky-asn1-x509]
version = "0.12"

[dependencies.pin-project]
version = "1.1.5"

[dependencies.prost]
version = "0.12"

[dependencies.prost-derive]
version = "0.12"

[dependencies.rand]
version = "0.8.5"

[dependencies.rcgen]
version = "0.10.0"
features = [
    "pem",
    "x509-parser",
]

[dependencies.reqwest]
version = "^0.11"
features = [
    "json",
    "rustls-tls-native-roots",
]
default-features = false

[dependencies.ring]
version = "~0.16.20"

[dependencies.runeauth]
version = "0.1"

[dependencies.rustls-pemfile]
version = "1.0.4"

[dependencies.secp256k1]
version = "0.26.0"
optional = true

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

[dependencies.serde_json]
version = "^1.0"

[dependencies.sha256]
version = "1.5.0"

[dependencies.tempfile]
version = "3.10.1"

[dependencies.thiserror]
version = "1"

[dependencies.time]
version = "0.3"
features = ["macros"]

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tonic]
version = "0.11"
features = [
    "tls",
    "transport",
]

[dependencies.tower]
version = "0.4"

[dependencies.url]
version = "2.5.0"

[dependencies.uuid]
version = "1.8.0"
features = ["serde"]

[dependencies.vls-core]
version = "^0.13"

[dependencies.vls-persist]
version = "^0.13"

[dependencies.vls-protocol]
version = "^0.13"

[dependencies.vls-protocol-signer]
version = "^0.13"

[dependencies.x509-certificate]
version = "0.23.1"

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

[build-dependencies.tonic-build]
version = "0.11"
