# 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 = "ledger-lib" version = "0.1.0" description = "Communication library for Ledger hardware wallets" keywords = [ "ledger", "wallet", "usb", "hid", "bluetooth", ] license = "Apache-2.0" repository = "https://github.com/ledger-community/rust-ledger.git" [dependencies.async-trait] version = "0.1.68" [dependencies.btleplug] version = "0.10.5" optional = true [dependencies.clap] version = "4.2.2" optional = true [dependencies.encdec] version = "0.9.0" [dependencies.futures] version = "0.3.28" [dependencies.hidapi] version = "2.1.2" optional = true default-features = false [dependencies.ledger-proto] version = "0.1.0" features = ["std"] [dependencies.once_cell] version = "1.17.1" [dependencies.strum] version = "0.24.1" features = ["derive"] [dependencies.thiserror] version = "1.0.40" [dependencies.tokio] version = "1.27.0" features = ["full"] [dependencies.tracing] version = "0.1.37" [dependencies.tracing-subscriber] version = "0.3.16" features = ["env-filter"] [dependencies.uuid] version = "1.3.2" [dev-dependencies.anyhow] version = "1.0.71" [features] clap = ["dep:clap"] default = [ "transport_usb", "transport_tcp", "transport_ble", "transport_usb_libusb", ] transport_ble = ["btleplug"] transport_tcp = [] transport_usb = ["hidapi"] transport_usb_hidraw = ["hidapi/linux-static-hidraw"] transport_usb_libusb = ["hidapi/linux-static-libusb"] unstable_async_trait = []