Skip to content

Commit

Permalink
Updated cargo.toml for v0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
G2-Games committed Mar 10, 2024
1 parent a443453 commit 2b3712f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 22 deletions.
37 changes: 17 additions & 20 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,45 +1,42 @@
[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 <[email protected]>"]
edition = "2021"
authors = ["G2 <[email protected]>"]
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"
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
2 changes: 0 additions & 2 deletions src/netmd/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2b3712f

Please sign in to comment.