Cargo.toml (760B)
1 [package] 2 name = "scarlett-core" 3 version = "0.0.0" 4 edition.workspace = true 5 license.workspace = true 6 authors.workspace = true 7 description = "scarlett2 control protocol and device model for Focusrite Scarlett interfaces" 8 9 [dependencies] 10 # rusb (libusb, vendored = built from source, no system dependency). Chosen over 11 # nusb because on macOS nusb's device-level control transfers auto-claim the 12 # device, which fails here (AppleUSBAudio owns the audio interfaces; the vendor 13 # interface is held by FocusriteControlServer). rusb's read_control/write_control 14 # drive EP0 with no claim — the path proven on the real 18i20 by the Phase-0 spike. 15 rusb = { version = "0.9", features = ["vendored"] } 16 serde = { version = "1", features = ["derive"] } 17 serde_json = "1"