# 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.76.0" name = "bumble" version = "0.2.0" authors = ["Marshall Pierce "] description = "Rust API for the Bumble Bluetooth stack" homepage = "https://google.github.io/bumble/index.html" documentation = "https://docs.rs/crate/bumble" readme = "README.md" keywords = [ "bluetooth", "ble", ] categories = [ "api-bindings", "network-programming", ] license = "Apache-2.0" repository = "https://github.com/google/bumble" [package.metadata.cargo-all-features] always_include_features = [ "anyhow", "pyo3-asyncio-attributes", "dev-tools", "bumble-tools", ] denylist = ["unstable"] [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] [[bin]] name = "file-header" path = "tools/file_header.rs" required-features = ["dev-tools"] [[bin]] name = "gen-assigned-numbers" path = "tools/gen_assigned_numbers.rs" required-features = ["dev-tools"] [[bin]] name = "bumble" path = "src/main.rs" required-features = ["bumble-tools"] [[example]] name = "broadcast" path = "examples/broadcast.rs" required-features = ["unstable_extended_adv"] [[test]] name = "pytests" path = "pytests/pytests.rs" harness = false [dependencies.anyhow] version = "1.0.71" optional = true [dependencies.bytes] version = "1.5.0" [dependencies.clap] version = "4.3.3" features = ["derive"] optional = true [dependencies.directories] version = "5.0.1" optional = true [dependencies.env_logger] version = "0.10.0" optional = true [dependencies.file-header] version = "0.1.2" optional = true [dependencies.futures] version = "0.3.28" [dependencies.globset] version = "0.4.13" optional = true [dependencies.hex] version = "0.4.3" [dependencies.itertools] version = "0.11.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.19" optional = true [dependencies.nom] version = "7.1.3" [dependencies.owo-colors] version = "3.5.0" optional = true [dependencies.pdl-derive] version = "0.2.0" [dependencies.pdl-runtime] version = "0.2.0" [dependencies.pyo3] version = "0.18.3" features = ["macros"] [dependencies.pyo3-asyncio] version = "0.18.0" features = ["tokio-runtime"] [dependencies.reqwest] version = "0.11.20" features = ["blocking"] optional = true [dependencies.rusb] version = "0.9.2" optional = true [dependencies.strum] version = "0.25.0" [dependencies.strum_macros] version = "0.25.0" [dependencies.thiserror] version = "1.0.41" [dependencies.tokio] version = "1.28.2" features = [ "macros", "signal", ] [dev-dependencies.anyhow] version = "1.0.71" [dev-dependencies.clap] version = "4.3.3" features = ["derive"] [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.log] version = "0.4.19" [dev-dependencies.nix] version = "0.26.2" [dev-dependencies.owo-colors] version = "3.5.0" [dev-dependencies.pyo3] version = "0.18.3" features = [ "macros", "anyhow", ] [dev-dependencies.pyo3-asyncio] version = "0.18.0" features = [ "tokio-runtime", "attributes", "testing", ] [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rusb] version = "0.9.2" [dev-dependencies.tempfile] version = "3.6.0" [dev-dependencies.tokio] version = "1.28.2" features = ["full"] [features] anyhow = ["pyo3/anyhow"] bumble-tools = [ "dep:clap", "anyhow", "dep:anyhow", "dep:directories", "pyo3-asyncio-attributes", "dep:owo-colors", "dep:reqwest", "dep:rusb", "dep:log", "dep:env_logger", ] default = [] dev-tools = [ "dep:anyhow", "dep:clap", "dep:file-header", "dep:globset", ] pyo3-asyncio-attributes = ["pyo3-asyncio/attributes"] unstable = ["unstable_extended_adv"] unstable_extended_adv = []