[package]
edition = "2024"
rust-version = "1.92"
name = "iqos"
version = "1.1.1"
authors = [
"VVX Club",
"VVX Supp",
]
build = false
include = [
"Cargo.toml",
"LICENSE",
"README.md",
"src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust crate for controlling IQOS devices over BLE and USB"
homepage = "https://github.com/V-VX/iqos"
documentation = "https://docs.rs/iqos"
readme = "README.md"
keywords = [
"iqos",
"ble",
"usb",
"vape",
"philipmorris",
]
categories = [
"hardware-support",
"asynchronous",
]
license = "GPL-3.0"
repository = "https://github.com/V-VX/iqos"
[features]
btleplug-support = [
"dep:btleplug",
"dep:tokio",
]
default = []
usb-support = []
[lib]
name = "iqos"
path = "src/lib.rs"
[[bin]]
name = "iqos"
path = "src/main.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.btleplug]
version = "0.11.8"
optional = true
[dependencies.futures]
version = "0.3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
]
optional = true
[dependencies.uuid]
version = "1"
features = ["macro-diagnostics"]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = []