[package] name = "iced_video_player" description = "A convenient video player widget for Iced" homepage = "https://github.com/jazzfool/iced_video_player" repository = "https://github.com/jazzfool/iced_video_player" readme = "README.md" keywords = ["gui", "iced", "video"] categories = ["gui", "multimedia"] version = "0.6.0" authors = ["jazzfool"] edition = "2024" resolver = "2" license = "MIT OR Apache-2.0" exclude = [ ".media/test.mp4" ] [dependencies] iced = { git = "https://github.com/RabbyDevs/iced.git", features = ["wgpu", "image", "advanced"], default-features = false } iced_wgpu = { git = "https://github.com/RabbyDevs/iced.git" } gstreamer = "0.23.5" gstreamer-app = "0.23.5" # appsink gstreamer-base = "0.23.5" # basesrc glib = "0.20.9" # gobject traits and error type log = "0.4.27" thiserror = "2.0.12" url = "2.5.4" # media uri yuvutils-rs = "0.8.2" [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"] [package.metadata.docs.rs] rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] targets = ["wasm32-unknown-unknown"] [profile.release] strip = true # Automatically strip symbols from the binary. lto = true # Link-time optimization. opt-level = 3 # Optimize for speed. codegen-units = 1 # Maximum size reduction optimizations.