# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75" name = "djio" version = "0.0.19" include = [ "/src", "/README.md", "/LICENSES", ] description = "DJ Hardware Control(ler) Support" readme = "README.md" keywords = [ "dj", "controller", "midi", "hid", ] categories = ["hardware-support"] license = "MPL-2.0" repository = "https://github.com/uklotzde/djio" [[example]] name = "midi-dj-controller-hotplug" path = "examples/midi_dj_controller_hotplug.rs" required-features = [ "midi-controllers", "midir", ] [[example]] name = "ni-traktor-kontrol-s4mk3" path = "examples/ni_traktor_kontrol_s4mk3.rs" required-features = ["ni-traktor-kontrol-s4mk3"] [dependencies.anyhow] version = "1.0.79" [dependencies.crossbeam-utils] version = "0.8.18" optional = true [dependencies.derive_more] version = "0.99.17" [dependencies.discro] version = "0.28.1" optional = true [dependencies.enum-as-inner] version = "0.6.0" optional = true [dependencies.float-cmp] version = "0.9.0" [dependencies.futures-core] version = "0.3.30" default-features = false [dependencies.futures-util] version = "0.3.30" features = ["std"] default-features = false [dependencies.is_sorted] version = "0.1.1" [dependencies.log] version = "0.4.20" [dependencies.midir] version = "0.9.1" optional = true [dependencies.strum] version = "0.25.0" features = ["derive"] [dependencies.thiserror] version = "1.0.56" [dependencies.tokio] version = "1.35.1" optional = true default-features = false [dev-dependencies.anyhow] version = "1.0.79" [dev-dependencies.hidapi] version = "2.4.1" [dev-dependencies.pretty_env_logger] version = "0.5.0" [features] all-controllers = [ "midi-controllers", "hid-controllers", ] blinking-led-task = [ "dep:discro", "discro/tokio", "dep:tokio", "tokio/time", ] blinking-led-task-tokio-rt = [ "blinking-led-task", "tokio/rt", ] controller-thread = [ "dep:tokio", "tokio/rt", "tokio/time", ] default = [ "all-controllers", "midir", "blinking-led-task-tokio-rt", "controller-thread", ] denon-dj-mc6000mk2 = ["midi"] experimental-param = [ "dep:crossbeam-utils", "dep:enum-as-inner", ] hid = ["dep:hidapi"] hid-controllers = ["ni-traktor-kontrol-s4mk3"] jack = ["midir?/jack"] korg-kaoss-dj = ["midi"] midi = [] midi-controllers = [ "denon-dj-mc6000mk2", "korg-kaoss-dj", "pioneer-ddj-400", ] midir = ["dep:midir"] ni-traktor-kontrol-s4mk3 = ["hid"] pioneer-ddj-400 = ["midi"] [target."cfg(not(target_family = \"wasm\"))".dependencies.hidapi] version = "2.4.1" optional = true [lints.clippy] clone_on_ref_ptr = "warn" default_trait_access = "allow" missing_const_for_fn = "warn" missing_errors_doc = "allow" module_name_repetitions = "allow" pedantic = "warn" self_named_module_files = "warn" [lints.rust] future_incompatible = "warn" let_underscore = "warn" missing_debug_implementations = "warn" rust_2018_idioms = "warn" rust_2021_compatibility = "warn" unreachable_pub = "warn" unsafe_code = "warn" unused = "warn"