Skip to content
Merged
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
16 changes: 1 addition & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ jobs:
python3 \
python3-pip \
python3-dev \
libavcodec-dev \
libavdevice-dev \
libavfilter-dev \
libavformat-dev \
libavutil-dev \
libswresample-dev \
libswscale-dev \
libopencv-dev \
python3-opencv

Expand Down Expand Up @@ -113,7 +106,7 @@ jobs:
run: cargo build --all-features --verbose

- name: Run Test
run: cargo test --verbose -- --nocapture
run: cargo test --all --all-features --verbose -- --nocapture

build-windows:
name: build / windows / latest ffmpeg
Expand Down Expand Up @@ -180,13 +173,6 @@ jobs:
python3 \
python3-pip \
python3-dev \
libavcodec-dev \
libavdevice-dev \
libavfilter-dev \
libavformat-dev \
libavutil-dev \
libswresample-dev \
libswscale-dev \
libopencv-dev \
python3-opencv

Expand Down
13 changes: 11 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,26 @@ test-tch = ["tch/download-libtorch"]
rand = '0.9'
approx = '0.5'
itertools = '0.14'
rgb = "0.8"
pix = "0.14"
coolor = "1.0"
imgref = "1.11"
palette = "0.7"
yuvutils-rs = "0.8"
fast_image_resize = "5.1"

[dependencies]
half = '2.4'
half = '2.6'
anyhow = '1.0'
strum = "0.27"
strum_macros = "0.27"
num-traits = '0.2'
image = { version = '0.25', default-features = true, optional = true }
nalgebra = { version = '0.33', default-features = true, optional = true }
ndarray = { version = '0.16', default-features = true, optional = true }
imageproc = { version = '0.25', default-features = true, optional = true }
tch = { version = '0.18', default-features = true, optional = true}
opencv = { version = '0.94', default-features = true, optional = true, features = ["clang-runtime"] }
rsmpeg = { git = "https://github.com/larksuite/rsmpeg", branch = "master", optional = true, features = [
rsmpeg = { git = "https://github.com/phial3/rsmpeg", branch = "light", optional = true, features = [
"ffmpeg7", "link_system_ffmpeg"
] }
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ mod common;
mod macros;
use macros::*;

pub mod pixel;

pub mod traits;
pub use traits::*;

Expand Down
Loading