btlightning 0.2.5

QUIC transport layer for Bittensor
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 = "2021"
rust-version = "1.88"
name = "btlightning"
version = "0.2.5"
authors = ["Inference Labs Inc"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "QUIC transport layer for Bittensor"
readme = "README.md"
license = "MIT"
repository = "https://github.com/inference-labs-inc/lightning"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
btwallet = ["bittensor_wallet"]
localnet-tests = ["subtensor"]
subtensor = [
    "dep:subxt",
    "dep:parity-scale-codec",
    "dep:futures-util",
]
subtensor-tests = ["subtensor"]

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

[[example]]
name = "concurrent_queries"
path = "examples/concurrent_queries.rs"

[[example]]
name = "custom_signer"
path = "examples/custom_signer.rs"

[[example]]
name = "echo"
path = "examples/echo.rs"

[[example]]
name = "streaming"
path = "examples/streaming.rs"

[[example]]
name = "typed_handlers"
path = "examples/typed_handlers.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "localnet"
path = "tests/localnet.rs"

[[test]]
name = "sn2_contract"
path = "tests/sn2_contract.rs"

[[test]]
name = "subtensor"
path = "tests/subtensor.rs"

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

[dependencies.base64]
version = "0.22"

[dependencies.bittensor_wallet]
version = "4.0.1"
optional = true
default-features = false
package = "btwallet"

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.indexmap]
version = "2"

[dependencies.parity-scale-codec]
version = "3"
features = ["derive"]
optional = true

[dependencies.quinn]
version = "0.11"

[dependencies.quinn-proto]
version = "0.11.14"

[dependencies.rand]
version = "0.8"

[dependencies.rcgen]
version = "0.13"

[dependencies.rmp-serde]
version = "1"

[dependencies.rmpv]
version = "1"
features = ["with-serde"]

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "logging",
]
default-features = false

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

[dependencies.serde_bytes]
version = "0.11"

[dependencies.sp-core]
version = "34.0"

[dependencies.subxt]
version = "0.38"
features = ["substrate-compat"]
optional = true

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.subxt-signer]
version = "0.38"
features = ["sr25519"]

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

[dev-dependencies.tokio]
version = "1.0"
features = [
    "full",
    "test-util",
]