mirror of
https://github.com/G2-Games/minidisc-cli.git
synced 2025-04-19 03:32:53 -05:00
Updated cargo.toml
for v0.1.0
release
This commit is contained in:
parent
a443453fad
commit
2b3712f1db
2 changed files with 17 additions and 22 deletions
37
Cargo.toml
37
Cargo.toml
|
@ -1,15 +1,20 @@
|
|||
[package]
|
||||
name = "minidisc_rs"
|
||||
version = "0.0.1"
|
||||
name = "minidisc_pc"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
homepage = "https://github.com/G2-Games/minidisc-cli/"
|
||||
repository = "https://github.com/G2-Games/minidisc-cli/minidisc-rs/"
|
||||
description = "An interface in rust to control NetMD and Hi-MD minidisc devices."
|
||||
description = "A library for controlling and uploading data to NetMD and Hi-MD minidisc devices."
|
||||
license-file = "LICENSE"
|
||||
authors = ["G2 <g2@g2games.dev>"]
|
||||
edition = "2021"
|
||||
authors = ["G2 <ke0bhogsg@gmail.com>"]
|
||||
readme = "README.md"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
# Have docs.rs make documentation for most supported targets
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "aarch64-pc-windows-msvc", "x86_64-apple-darwin", "aarch64-apple-darwin", "wasm32-unknown-unknown"]
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
diacritics = "0.2.0"
|
||||
|
@ -17,29 +22,21 @@ encoding_rs = "0.8.33"
|
|||
nofmt = "1.0.0"
|
||||
once_cell = "1.18.0"
|
||||
unicode-normalization = "0.1.22"
|
||||
hex = "0.4.3"
|
||||
regex = "1.10.2"
|
||||
lazy_static = "1.4.0"
|
||||
cross_usb = "0.2"
|
||||
num-derive = "0.3.3"
|
||||
num-traits = "0.2.14"
|
||||
rand = "0.8.5"
|
||||
getrandom = { version = "0.2.12", features = ["js"] }
|
||||
des = "0.8.1"
|
||||
cbc = "0.1.2"
|
||||
ecb = "0.1.2"
|
||||
tokio = { version = "1.35.1", features = ["sync"] }
|
||||
|
||||
[dependencies.unicode-jp]
|
||||
# Relying on this fork for now as it has up-to-date deps
|
||||
git = "https://github.com/uzabase/unicode-jp-rs.git"
|
||||
getrandom = { version = "0.2", features = ["js"] }
|
||||
des = "0.8"
|
||||
cbc = "0.1"
|
||||
ecb = "0.1"
|
||||
tokio = { version = "1.36", features = ["sync"] }
|
||||
unicode-jp = { git = "https://github.com/uzabase/unicode-jp-rs.git" }
|
||||
|
||||
[target.'cfg(target_family = "wasm")'.dependencies]
|
||||
web-sys = { version = "0.3", features = ["console"] }
|
||||
gloo = { version = "0.11.0", features = ["futures"] }
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[package.metadata.wasm-pack.profile.dev.wasm-bindgen]
|
||||
dwarf-debug-info = true
|
||||
|
|
|
@ -5,12 +5,10 @@ use std::error::Error;
|
|||
use std::time::Duration;
|
||||
|
||||
// USB stuff
|
||||
//use nusb::transfer::{Control, ControlIn, ControlOut, ControlType, Recipient, RequestBuffer};
|
||||
use cross_usb::usb::{ControlIn, ControlOut, ControlType, Device, Interface, Recipient};
|
||||
use cross_usb::{UsbDevice, UsbInterface};
|
||||
|
||||
use super::utils::cross_sleep;
|
||||
//use nusb::{Device, DeviceInfo, Interface};
|
||||
|
||||
const DEFAULT_TIMEOUT: Duration = Duration::new(10000, 0);
|
||||
const BULK_WRITE_ENDPOINT: u8 = 0x02;
|
||||
|
|
Loading…
Reference in a new issue