mirror of
https://github.com/lights0123/n-link.git
synced 2026-10-31 05:45:58 +00:00
Splits the former 478-line main.rs into focused modules. Drops hashbrown in favour of std HashMap (the drain_filter API it was used for was renamed with changed semantics) and drops vendored libusb1-sys in favour of the system library, matching nlink-cli. Also removes the Task 2 scaffold's lib.rs/tauri-plugin-opener indirection (the brief's module layout is a plain binary with no lib target) and drops the now-dangling "opener:default" permission from capabilities/default.json, which otherwise fails the Tauri build script with an unresolved permission error.
38 lines
934 B
TOML
38 lines
934 B
TOML
[package]
|
|
name = "n-link"
|
|
version = "0.1.6"
|
|
description = "Free, cross-platform, CX-II compatible computer linking program for the TI-Nspire"
|
|
authors = ["Ben Schattinger <developer@lights0123.com>"]
|
|
license = "GPL-3.0"
|
|
repository = "https://github.com/lights0123/n-link"
|
|
default-run = "n-link"
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2.11.5", features = [] }
|
|
tauri-plugin-dialog = "2.7.2"
|
|
tauri-plugin-shell = "2.3.5"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
anyhow = "1.0"
|
|
lazy_static = "1.4"
|
|
libnspire = "0.2.3"
|
|
rusb = "0.6.4"
|
|
clap = { version = "4", features = ["derive"] }
|
|
indicatif = "0.15"
|
|
|
|
[patch.crates-io]
|
|
libnspire-sys = { path = "../../vendor/libnspire-sys" }
|
|
|
|
[features]
|
|
default = ["custom-protocol"]
|
|
custom-protocol = ["tauri/custom-protocol"]
|
|
|
|
[[bin]]
|
|
name = "n-link"
|
|
path = "src/main.rs"
|