# 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.66.0" name = "vls-proxy" version = "0.12.0" authors = [ "Devrandom ", "Ken Sedgwick ", ] build = "build.rs" description = "A library for implementing a Lightning signer, which externalizes and secures cryptographic operations." homepage = "https://gitlab.com/lightning-signer/docs/" license = "Apache-2.0" repository = "https://gitlab.com/lightning-signer/validating-lightning-signer" [lib] name = "vls_proxy" path = "src/lib.rs" [[bin]] name = "remote_hsmd_serial" path = "src/serial_main.rs" required-features = ["main"] [[bin]] name = "remote_hsmd_socket" path = "src/socket_main.rs" required-features = [ "grpc", "main", ] [[bin]] name = "vlsd2" path = "src/vlsd2_main.rs" required-features = [ "grpc", "main", ] [[bin]] name = "decode-vls" path = "src/decode-vls.rs" [[example]] name = "compact_proof" path = "examples/compact_proof.rs" [[test]] name = "frontend_system_test" path = "tests/frontend_system_test.rs" required-features = ["system-test"] [[test]] name = "cloud_system_test" path = "tests/cloud_system_test.rs" required-features = ["system-test"] [dependencies.anyhow] version = "1.0" [dependencies.as-any] version = "0.3" [dependencies.async-stream] version = "0.3" optional = true [dependencies.async-trait] version = "0.1" [dependencies.backoff] version = "0.4" features = ["tokio"] optional = true [dependencies.base64] version = "0.21.7" [dependencies.clap] version = "3.2" features = ["derive"] optional = true [dependencies.ctrlc] version = "3.2.4" features = ["termination"] optional = true [dependencies.dirs] version = "4" [dependencies.fern] version = "0.6" features = ["colored"] optional = true [dependencies.futures] version = "0.3" features = ["alloc"] default-features = false [dependencies.heapmon] version = "0.1" [dependencies.hex] version = "0.4" [dependencies.http] version = "0.2" [dependencies.hyper] version = "0.14" [dependencies.jsonrpsee] version = "0.21.0" features = ["server"] [dependencies.lightning-storage-server] version = "0.3.0" default-features = false [dependencies.log] version = "0.4" [dependencies.lru] version = "0.11" [dependencies.nix] version = "0.26" [dependencies.opentelemetry] version = "0.21.0" features = ["trace"] optional = true [dependencies.opentelemetry-otlp] version = "0.14.0" optional = true [dependencies.opentelemetry-semantic-conventions] version = "0.13.0" optional = true [dependencies.opentelemetry_sdk] version = "0.21.2" features = [ "trace", "rt-tokio", ] optional = true [dependencies.prost] version = "0.11" optional = true [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" optional = true [dependencies.tempfile] version = "3" optional = true [dependencies.thiserror] version = "1.0" [dependencies.time] version = "=0.3.17" [dependencies.tokio] version = "1.27" features = [ "macros", "rt-multi-thread", ] optional = true [dependencies.tokio-stream] version = "0.1" optional = true [dependencies.toml] version = "0.5" optional = true [dependencies.tonic] version = "0.9" optional = true [dependencies.tower] version = "0.4.13" [dependencies.tower-http] version = "0.4.0" features = ["auth"] [dependencies.tracing] version = "0.1.40" features = ["attributes"] [dependencies.tracing-appender] version = "0.2.3" [dependencies.tracing-opentelemetry] version = "0.22.0" optional = true [dependencies.tracing-subscriber] version = "0.3.18" features = [ "tracing-log", "env-filter", "fmt", ] default-features = false [dependencies.triggered] version = "0.1" [dependencies.txoo-bitcoind-client] version = "0.7.1" [dependencies.url] version = "2.3" optional = true [dependencies.vls-core] version = "0.12.0" features = ["use_backtrace"] [dependencies.vls-frontend] version = "0.12.0" [dependencies.vls-persist] version = "0.12.0" features = [ "std", "kvv", "redb-kvv", ] default_features = false [dependencies.vls-protocol] version = "0.12.0" [dependencies.vls-protocol-client] version = "0.12.0" [dependencies.vls-protocol-signer] version = "0.12.0" [dev-dependencies.tempfile] version = "3" [build-dependencies.tonic-build] version = "0.9" [features] debug = [ "vls-core/debug", "vls-protocol-signer/debug", ] default = [ "grpc", "main", "debug", ] grpc = [ "tokio", "tokio-stream", "tonic", "prost", "async-stream", "url", "backoff", ] heapmon_requests = [] log_pretty_print = [ "vls-core/log_pretty_print", "vls-frontend/log_pretty_print", "vls-protocol-signer/log_pretty_print", ] main = [ "clap", "toml", "ctrlc", "fern", ] otlp = [ "opentelemetry", "opentelemetry_sdk", "opentelemetry-otlp", "opentelemetry-semantic-conventions", "tracing-opentelemetry", ] system-test = [ "serde_json", "tempfile", "vls-core/test_utils", ]