Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
release:
types: [created]
types: [ created ]

jobs:
release:
Expand All @@ -11,20 +11,28 @@ jobs:
fail-fast: false
matrix:
include:
- name: Linux-aarch64
target: aarch64-unknown-linux-gnu
runner: ubuntu-latest

- name: Linux-x86_64
target: x86_64-unknown-linux-gnu
runner: ubuntu-latest

- name: macOS-Apple
- name: macOS-Apple-aarch64
target: aarch64-apple-darwin
runner: macos-latest

- name: macOS-Intel
- name: macOS-Intel-x86_64
target: x86_64-apple-darwin
runner: macos-latest

- name: Windows
target: i686-pc-windows-msvc
- name: Windows-aarch64
target: aarch64-pc-windows-msvc
runner: windows-latest

- name: Windows-x86_64
target: x86-64-pc-windows-msvc
runner: windows-latest

name: ${{ matrix.name }}
Expand Down
196 changes: 194 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 15 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,36 +1,47 @@
[package]
name = "lighthouse"
description = "Virtual reality basestation power management in Rust"
version = "1.5.0"
version = "2.0.0"
authors = ["Shayne Hartford <shaybox@shaybox.com>"]
edition = "2024"
readme = "README.md"
repository = "https://github.com/ShayBox/Lighthouse"
license = "MIT"
keywords = ["bluetooth", "valve", "htc", "basestation", "lighthouse"]
categories = ["asynchronous", "command-line-utilities", "hardware-support"]
build = "build.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[[bin]]
name = "lighthouse"
required-features = ["cli"]

[lib]
name = "lighthouse"
path = "src/lib.rs"
crate-type = ["rlib", "cdylib"]

[features]
cli = ["clap", "clap-verbosity-flag", "tracing", "tracing-log", "tracing-subscriber"]
tracing = ["dep:tracing"]
default = ["ffi"]
cli = ["clap", "clap-verbosity-flag", "log", "tracing-log", "tracing-subscriber"]
ffi = []
log = ["dep:tracing"]

[dependencies]
btleplug = { version = "0.12", features = ["serde"] }
clap = { version = "4", optional = true }
clap-verbosity-flag = { version = "3", optional = true }
thiserror = "2"
tokio = { version = "1", features = ["macros"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
tracing = { version = "0.1", optional = true }
tracing-log = { version = "0.2", optional = true }
tracing-subscriber = { version = "0.3", optional = true }
uuid = "1"

[build-dependencies]
cbindgen = "0.29"

# https://github.com/johnthagen/min-sized-rust
[profile.release]
strip = true # Automatically strip symbols from the binary.
Expand Down
Loading