Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,637 changes: 3,485 additions & 152 deletions Cargo.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions apps/skit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ svt_av1 = ["streamkit-nodes/svt_av1"]
svt_av1_static = ["streamkit-nodes/svt_av1_static"]
dav1d = ["streamkit-nodes/dav1d"]
dav1d_static = ["streamkit-nodes/dav1d_static"]
slint = ["streamkit-nodes/slint"]

[dev-dependencies]
tokio-test = "0.4.5"
Expand Down
5 changes: 5 additions & 0 deletions crates/nodes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ wgpu = { version = "29", optional = true, default-features = false, features = [
pollster = { version = "0.4", optional = true }
bytemuck = { version = "1.22", optional = true, features = ["derive"] }

# Slint UI rendering (optional, behind `slint` feature)
slint = { version = "1.15", optional = true, default-features = false, features = ["renderer-software", "compat-1-2"] }
slint-interpreter = { version = "1.15", optional = true }

futures-util = "0.3"

[features]
Expand Down Expand Up @@ -151,6 +155,7 @@ dav1d_static = ["dav1d"]
colorbars = ["dep:schemars", "dep:serde_json", "dep:fontdue"]
compositor = ["dep:schemars", "dep:serde_json", "dep:image", "dep:tiny-skia", "dep:rayon", "dep:fontdue", "dep:smallvec", "dep:uuid"]
gpu = ["compositor", "dep:wgpu", "dep:pollster", "dep:bytemuck"]
slint = ["dep:slint", "dep:slint-interpreter", "dep:pollster", "dep:schemars", "dep:serde_json", "dep:uuid"]
codegen = ["dep:ts-rs"]
video = ["vp9", "av1", "colorbars", "compositor"]

Expand Down
6 changes: 6 additions & 0 deletions crates/nodes/src/video/mod.rs
Comment thread
staging-devin-ai-integration[bot] marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ pub mod dav1d;
#[cfg(feature = "dav1d")]
pub mod dav1d_ffi;

#[cfg(feature = "slint")]
pub mod slint;

#[cfg(any(feature = "colorbars", feature = "compositor"))]
pub(crate) mod fonts;

Expand Down Expand Up @@ -569,4 +572,7 @@ pub fn register_video_nodes(registry: &mut NodeRegistry, constraints: &GlobalNod

#[cfg(feature = "dav1d")]
dav1d::register_dav1d_nodes(registry);

#[cfg(feature = "slint")]
slint::register_slint_nodes(registry);
}
Loading
Loading