openseries-gg 1.0.0

Control supported SteelSeries headsets and mice from the command line or Rust
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 = "2024"
name = "openseries-gg"
version = "1.0.0"
authors = ["Pico"]
build = false
include = [
    "Cargo.lock",
    "Cargo.toml",
    "LICENSE",
    "README.md",
    "assets/showcase.gif",
    "src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "openseries"
description = "Control supported SteelSeries headsets and mice from the command line or Rust"
homepage = "https://github.com/PicoShot/openseries-gg"
documentation = "https://docs.rs/openseries-gg"
readme = "README.md"
keywords = [
    "steelseries",
    "hid",
    "headset",
    "mouse",
    "cli",
]
categories = [
    "command-line-utilities",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/PicoShot/openseries-gg"

[features]
cli = [
    "dep:anstream",
    "dep:anstyle",
    "dep:clap",
    "dep:comfy-table",
    "dep:inquire",
    "dep:serde",
    "dep:serde_json",
]
default = ["cli"]

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

[[bin]]
name = "openseries"
path = "src/cli/main.rs"
required-features = ["cli"]

[dependencies.anstream]
version = "1.0.0"
optional = true

[dependencies.anstyle]
version = "1.0.13"
optional = true

[dependencies.bitflags]
version = "2.9.4"

[dependencies.clap]
version = "4.6.4"
features = ["derive"]
optional = true

[dependencies.comfy-table]
version = "7.2.2"
optional = true
default-features = false

[dependencies.inquire]
version = "0.9.4"
features = ["crossterm"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0.151"
optional = true

[dependencies.sha2]
version = "0.11.0"

[dependencies.thiserror]
version = "2.0.17"

[target.'cfg(target_os = "linux")'.dependencies.hidapi]
version = "2.6.6"
features = ["linux-static-hidraw"]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.hidapi]
version = "2.6.6"
features = ["macos-shared-device"]
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.hidapi]
version = "2.6.6"
features = ["windows-native"]
default-features = false

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true