[package] name = "psychophysics" version = "0.1.0" edition = "2021" rust-version = "1.70" authors = ["Marc Pabst"] description = "A library for psychophysical experiments" repository = "https://github.com/marcpabst/psychophysics" license = "MPL-2.0" keywords = ["psychophysics", "psychology", "experiments", "stimuli", "perception"] categories = ["science", "science::neuroscience", "graphics", "gui", "multimedia"] [lib] name = "psychophysics" crate-type = ["lib"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # General dependencies [dependencies] env_logger = "0.10.1" wgpu = "0.19.1" raw-window-handle = "0.6" winit = { version = "0.29"} rand = "0.8.5" bytemuck = { version="1.14.0", features=["derive"] } nalgebra = "0.32.3" glyphon = "0.5.0" web-time = "1.0.0" ndarray = "0.15.6" image = "0.24.7" cpal = "0.15.2" anyhow = "1.0.75" rodio = "0.17.3" wasm-bindgen = "0.2.89" fontdb = "0.16.0" fastrand = "2.0.1" async-broadcast = "=0.7.0" #async-broadcast = { git = "https://github.com/kuviman/async-broadcast", rev = "6767b8a76cd2a1b57da0dd435488df112514afe8" } futures-lite = "2.1.0" async-executor = "1.8.0" async-channel = "2.1.1" log = "0.4.20" simple_logger = "4.3.0" atomic_float = "0.1.0" num-traits = "0.2.17" spin_sleep = "1.1.1" half = { version = "2.3.1", features = ["bytemuck"] } palette = "0.7.3" async-lock = "3.2.0" async-trait = "0.1.75" byte-slice-cast = "1.2.2" derive_builder = "0.12.0" strum = "0.25.0" strum_macros = "0.25.3" csv = "1.3.0" thiserror = "1.0.56" imageproc = "0.23.0" pollster = "0.3.0" derive_more = "0.99.17" rustfft = "6.2.0" paste = "1.0.15" derive-debug = "0.1.2" objc2 = "0.5.1" objc2-app-kit = { version = "0.2.0", features = ["NSAlert", "NSApplication", "NSTextField", "NSControl", "NSResponder", "NSView", "NSButton"] } objc2-foundation = "0.2.0" # Non-wasm32 dependencies [target.'cfg(not(target_arch = "wasm32"))'.dependencies] smol = "1.3.0" # Desktop dependencies (macOS, Linux, Windows) [target.'cfg(any(target_os = "macos", target_os = "linux", target_os = "windows"))'.dependencies] glib = "0.19.5" gst = { package = "gstreamer", version = "0.22.3"} gst-app = { package = "gstreamer-app", version = "0.22.0"} gst-video = { package = "gstreamer-video", version = "0.22.3"} # Wasm32 dependencies [target.'cfg(target_arch = "wasm32")'.dependencies] web-sys = { version="0.3.67", features=["Window", "HtmlVideoElement", "HtmlCanvasElement", "Document", "Element", "MediaStream", "Node", "CanvasRenderingContext2d", "ImageData"] } js-sys = "0.3.66" console_error_panic_hook = "0.1.7" console_log = "1" wasm-bindgen-futures = "0.4.38" wasm_thread = "0.2.0"