badgemagic-rs/Cargo.toml
dependabot[bot] 2cc5d0d44c
Bump the minor-updates group across 1 directory with 7 updates
Bumps the minor-updates group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.23` | `4.5.28` |
| [btleplug](https://github.com/deviceplug/btleplug) | `0.11.6` | `0.11.7` |
| [uuid](https://github.com/uuid-rs/uuid) | `1.11.0` | `1.13.1` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.42.0` | `1.43.0` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.134` | `1.0.138` |
| [toml](https://github.com/toml-rs/toml) | `0.8.19` | `0.8.20` |
| [zerocopy](https://github.com/google/zerocopy) | `0.8.14` | `0.8.17` |



Updates `clap` from 4.5.23 to 4.5.28
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.23...clap_complete-v4.5.28)

Updates `btleplug` from 0.11.6 to 0.11.7
- [Changelog](https://github.com/deviceplug/btleplug/blob/master/CHANGELOG.md)
- [Commits](https://github.com/deviceplug/btleplug/compare/0.11.6...0.11.7)

Updates `uuid` from 1.11.0 to 1.13.1
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.11.0...1.13.1)

Updates `tokio` from 1.42.0 to 1.43.0
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.0)

Updates `serde_json` from 1.0.134 to 1.0.138
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.134...v1.0.138)

Updates `toml` from 0.8.19 to 0.8.20
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.19...toml-v0.8.20)

Updates `zerocopy` from 0.8.14 to 0.8.17
- [Release notes](https://github.com/google/zerocopy/releases)
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/zerocopy/compare/v0.8.14...v0.8.17)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-updates
- dependency-name: btleplug
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-updates
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-updates
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-updates
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-updates
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-updates
- dependency-name: zerocopy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 17:40:47 +00:00

52 lines
1.4 KiB
TOML

[package]
name = "badgemagic"
version = "0.1.0"
authors = ["Martin Michaelis <code@mgjm.de>"]
edition = "2021"
description = "Badge Magic with LEDs - Library and CLI"
homepage = "https://badgemagic.fossasia.org"
repository = "https://github.com/fossasia/badgemagic-rs"
license = "MIT OR Apache-2.0"
publish = false
[[bin]]
name = "badgemagic"
required-features = ["cli"]
[[example]]
name = "hello-world"
required-features = ["embedded-graphics", "usb-hid"]
[features]
default = ["embedded-graphics", "usb-hid"]
cli = [
"embedded-graphics",
"serde",
"usb-hid",
"ble",
"dep:base64",
"dep:clap",
"dep:serde_json",
"dep:toml",
]
embedded-graphics = ["dep:embedded-graphics"]
serde = ["dep:serde"]
usb-hid = ["dep:hidapi"]
ble = ["dep:btleplug", "dep:uuid", "dep:tokio"]
[dependencies]
anyhow = "1.0.95"
base64 = { version = "0.22.1", optional = true }
clap = { version = "4.5.28", features = ["derive"], optional = true }
embedded-graphics = { version = "0.8.1", optional = true }
hidapi = { version = "2.6.3", optional = true }
btleplug = { version = "0.11.7", optional = true }
uuid = { version = "1.13.1", optional = true }
tokio = { version = "1.43.0", features = ["rt"], optional = true }
serde = { version = "1.0.217", features = ["derive"], optional = true }
serde_json = { version = "1.0.138", optional = true }
time = "0.3.37"
toml = { version = "0.8.20", optional = true }
zerocopy = { version = "0.8.17", features = ["derive"] }