# 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.65.0" name = "fedimint-tonic-lnd" version = "0.2.0" description = "An async library implementing LND RPC via tonic and prost. Forked from https://github.com/Kixunil/tonic_lnd" homepage = "https://github.com/fedimint/tonic_lnd" readme = "README.md" keywords = [ "LND", "rpc", "grpc", "tonic", "async", ] categories = [ "api-bindings", "asynchronous", "cryptography::cryptocurrencies", "network-programming", ] license = "MITNFA" repository = "https://github.com/fedimint/tonic_lnd" [[example]] name = "get_info" path = "examples/get_info.rs" required-features = ["lightningrpc"] [[example]] name = "get_version" path = "examples/get_version.rs" required-features = ["versionrpc"] [[example]] name = "track_payment" path = "examples/track_payment.rs" required-features = ["routerrpc"] [[example]] name = "cancel_invoice" path = "examples/cancel_invoice.rs" required-features = ["invoicesrpc"] [[example]] name = "subscribe_invoices" path = "examples/subscribe_invoices.rs" required-features = ["invoicesrpc"] [[example]] name = "intercept_htlcs" path = "examples/intercept_htlcs.rs" required-features = ["routerrpc"] [dependencies.hex] version = "0.4.3" [dependencies.http-body] version = "0.4.5" [dependencies.hyper] version = "0.14.27" features = ["client"] default-features = false [dependencies.hyper-rustls] version = "0.24.1" features = [ "acceptor", "http2", "tls12", ] default-features = false [dependencies.prost] version = "0.12.0" [dependencies.rustls] version = "0.21.0" features = ["dangerous_configuration"] default-features = false [dependencies.rustls-pemfile] version = "1.0.0" [dependencies.tokio] version = "1.32.0" features = ["fs"] [dependencies.tokio-stream] version = "0.1" features = ["net"] [dependencies.tonic] version = "0.10.0" features = [ "transport", "tls", ] [dependencies.tower] version = "0.4.13" [dev-dependencies.tokio] version = "1.7.1" features = ["rt-multi-thread"] [build-dependencies.tonic-build] version = "0.10.0" [features] all = [ "lightningrpc", "walletrpc", "peersrpc", "versionrpc", "routerrpc", "invoicesrpc", "staterpc", ] default = ["all"] invoicesrpc = ["lightningrpc"] lightningrpc = [] peersrpc = [] routerrpc = ["lightningrpc"] signrpc = [] staterpc = ["lightningrpc"] versionrpc = [] walletrpc = ["signrpc"]