# 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.76.0" name = "psylink" version = "0.3.0" build = "build.rs" exclude = [ "additional", "www", "archive", "schematics", "arduino", ".gitignore", ] autobins = false autoexamples = false autotests = false autobenches = false description = "GUI for PsyLink neural interface for receiving/graphing biosignals and predicting user's intentions" homepage = "https://psylink.me" readme = "README.md" keywords = [ "hardware", "embedded", "bci", "neuroscience", "ai", ] categories = [ "accessibility", "hardware-support", "science::neuroscience", "visualization", ] license = "GPL-3.0-only" repository = "https://codeberg.org/psylink/psylink" [package.metadata.android] build_targets = ["aarch64-linux-android"] package = "me.psylink.psylink" resources = "android-res" [[package.metadata.android.uses_permission]] name = "android.permission.BLUETOOTH" [[package.metadata.android.uses_permission]] name = "android.permission.BLUETOOTH_ADMIN" [[package.metadata.android.uses_permission]] name = "android.permission.BLUETOOTH_SCAN" [package.metadata.android.application] label = "PsyLink" [profile.dev] opt-level = 0 [profile.release] opt-level = "z" lto = true codegen-units = 1 debug = 0 incremental = false strip = true [lib] name = "psylink" crate-type = [ "lib", "cdylib", ] path = "src/lib.rs" [[bin]] name = "psylink" path = "src/main.rs" [dependencies.btleplug] version = "0.11.5" [dependencies.burn] version = "0.13.2" features = [ "wgpu", "train", ] [dependencies.clap] version = "4.5.17" features = ["derive"] [dependencies.enigo] version = "0.2.1" features = ["x11rb"] [dependencies.plotters] version = "0.3.6" features = [ "all_series", "all_elements", "bitmap_backend", "bitmap_encoder", "bitmap_gif", "chrono", "colormaps", "deprecated_items", "full_palette", "image", "svg_backend", ] default-features = false [dependencies.rand] version = "0.8.5" [dependencies.rodio] version = "0.19.0" features = ["mp3"] default-features = false [dependencies.slint] version = "1.7.2" features = [ "accessibility", "backend-winit", "compat-1-2", "renderer-software", "std", ] optional = true default-features = false [dependencies.tokio] version = "1.40.0" features = [ "sync", "rt", "macros", "rt-multi-thread", ] [dependencies.uuid] version = "1.10.0" [dev-dependencies.approx_eq] version = "0.1" [dev-dependencies.tokio] version = "1.37.0" features = [ "sync", "rt", "macros", "rt-multi-thread", ] [build-dependencies.slint-build] version = "1.7.2" [features] default = ["gui"] gui = ["dep:slint"] [target.'cfg(target_os = "android")'.dependencies.slint] version = "1.7.2" features = [ "accessibility", "backend-android-activity-06", "backend-winit", "compat-1-2", "renderer-software", "std", ] optional = true default-features = false [target.'cfg(target_os = "linux")'.dependencies.slint] version = "1.7.2" features = [ "accessibility", "backend-winit", "compat-1-2", "renderer-software", "std", ] optional = true default-features = false