adding cargo-flamegraph and removing unneccessary deps
This commit is contained in:
parent
d2e456eae4
commit
427059107a
36
flake.nix
36
flake.nix
|
@ -29,15 +29,29 @@
|
|||
"rustfmt"
|
||||
])
|
||||
rust-analyzer
|
||||
gtk-layer-shell
|
||||
gtk3
|
||||
vulkan-loader
|
||||
wayland
|
||||
wayland-protocols
|
||||
libxkbcommon
|
||||
pkg-config
|
||||
];
|
||||
|
||||
bi = with pkgs; [
|
||||
gcc
|
||||
stdenv
|
||||
gnumake
|
||||
gdb
|
||||
cmake
|
||||
makeWrapper
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
vulkan-tools
|
||||
libGL
|
||||
cargo-flamegraph
|
||||
|
||||
fontconfig
|
||||
glib
|
||||
alsa-lib
|
||||
gst_all_1.gst-devtools
|
||||
gst_all_1.gst-libav
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-plugins-good
|
||||
|
@ -46,22 +60,8 @@
|
|||
gst_all_1.gst-plugins-rs
|
||||
gst_all_1.gst-vaapi
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gstreamermm
|
||||
];
|
||||
|
||||
bi = with pkgs; [
|
||||
gcc
|
||||
stdenv
|
||||
gnumake
|
||||
gdb
|
||||
makeWrapper
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
vulkan-tools
|
||||
libGL
|
||||
|
||||
# podofo
|
||||
mpv
|
||||
# mpv
|
||||
ffmpeg-full
|
||||
# yt-dlp
|
||||
|
||||
|
|
2
justfile
2
justfile
|
@ -11,6 +11,8 @@ clean:
|
|||
RUST_LOG=debug cargo clean
|
||||
test:
|
||||
RUST_LOG=debug cargo test --benches --tests --all-features -- --nocapture
|
||||
profile:
|
||||
cargo flamegraph --image-width 4000 -- {{ui}} {{file}}
|
||||
|
||||
alias r := run
|
||||
alias c := clean
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
(slide :background (image :source "~/pics/frodo.jpg" :fit fill)
|
||||
(text "This is frodo" :font-size 70))
|
||||
(slide (video :source "~/vids/test/camprules2024.mp4" :fit contain))
|
||||
(slide (video :source "~/vids/The magic of Rust's type system.mkv" :fit contain))
|
||||
(slide (video :source "~/vids/The Basics of Hanging Drywall.mkv" :fit contain))
|
||||
(slide (video :source "~/vids/Ladybird Is The Future Of Web Browsers.webm" :fit contain))
|
||||
(song :id 7 :author "North Point Worship"
|
||||
:font "Quicksand Bold" :font-size 60
|
||||
:title "Death Was Arrested"
|
||||
|
|
Loading…
Reference in a new issue