[package] name = "cog-task" version = "1.2.0" authors = ["Menoua Keshishian "] edition = "2021" description = "A general-purpose low-latency application to run cognitive tasks" license = "MIT" repository = "https://github.com/menoua/cog-task" documentation = "https://docs.rs/cog-task" readme = "README.md" exclude = [".*", "/example", "/LOGO1.svg", "/LOGO2.svg"] rust-version = "1.64" default-run = "cog-launcher" autobins = false [dependencies] eyre = "0.6" eframe = { version = "0.19", features = ["persistence"] } egui_extras = { version = "0.19", features = ["serde"] } egui_demo_lib = { version = "0.19", features = ["serde"] } cpufeatures = "0.2.5" resvg = "0.23.0" usvg = "0.23.0" tiny-skia = "0.6.6" image = { version = "0.24", features = ["jpeg", "png", "gif", "bmp", "ico", "tiff"] } serde = { version = "1.0", features = ["derive"] } serde_cbor = "0.11" serde_json = "1.0" serde_yaml = "0.9" ron = "0.8" itertools = "0.10" rodio = { version = "0.16", optional = true } chrono = "0.4" heck = "0.4" spin_sleep = "1.1" sha2 = "0.10" hex = "0.4" sysinfo = "0.26" native-dialog = "0.6" glib = { version = "0.16", optional = true } gstreamer = { version = "0.19", optional = true } gstreamer-app = { version = "0.19", optional = true } ffmpeg-next = { version = "5.1", features = ["default"], optional = true } # look into "static" feature num-rational = "0.4" num-traits = "0.2" thiserror = "1.0" regex = "1.6" once_cell = "1.13" paste = "1.0" rustybuzz = "0.5.1" fasteval = "0.2.4" savage_core = { version = "0.2.0", optional = true } cpython = { version = "0.7.1", optional = true, features = ["serde-convert", "default", "python3-sys"] } cfg-if = "1.0.0" [build-dependencies] itertools = "0.10" regex = "1.6" heck = "0.4" [features] default = [] rodio = ["dep:rodio", "audio"] gstreamer = ["dep:gstreamer", "dep:gstreamer-app", "dep:glib", "stream"] ffmpeg = ["dep:ffmpeg-next", "stream"] savage = ["dep:savage_core"] python = ["dep:cpython"] audio = [] stream = [] [[bin]] name = "cog-launcher" path = "src/bin/launcher.rs" [[bin]] name = "cog-server" path = "src/bin/server.rs" # [package.metadata.docs.rs] # features = ["full"] [package.metadata.nix] systems = ["x86_64-linux"] app = true build = true #runtimeLibs = [ # "vulkan-loader", # "wayland", # "wayland-protocols", # "libxkbcommon", # "xorg.libX11", # "xorg.libXrandr", # "xorg.libXi", "gst_all_1.gstreamer", "gst_all_1.gstreamermm", "gst_all_1.gst-plugins-bad", "gst_all_1.gst-plugins-ugly", "gst_all_1.gst-plugins-good", "gst_all_1.gst-plugins-base", #] #buildInputs = ["libxkbcommon", "gst_all_1.gstreamer", "gst_all_1.gstreamermm", "gst_all_1.gst-plugins-bad", "gst_all_1.gst-plugins-ugly", "gst_all_1.gst-plugins-good", "gst_all_1.gst-plugins-base"]