Skip to content

Commit 7f0faad

Browse files
committed
added avif and opencv support
1 parent 9aba319 commit 7f0faad

File tree

8 files changed

+357
-28
lines changed

8 files changed

+357
-28
lines changed

Cargo.lock

Lines changed: 210 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "silence-core"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
edition = "2021"
55
description = "Core audio I/O abstractions for the silence crate."
66
license = "Apache-2.0"
77
categories = ["asynchronous", "multimedia::audio", "multimedia::encoding"]
88

99
[features]
1010
# Default features
11-
default = ["io", "opus"]
11+
default = ["io", "opus", "av1"]
1212

1313
# Enables Serialization and Deserialization for structs.
1414
serde = ["dep:serde"]
@@ -23,7 +23,7 @@ opus = ["dep:opus"]
2323
full = ["io", "opus", "serde", "av1", "opencv"]
2424

2525
# Enables image input
26-
opencv = ["dep:opencv"]
26+
opencv = ["dep:opencv", "dep:image"]
2727

2828
# Enables image encoding to av1
2929
av1 = ["dep:ravif", "opencv"]
@@ -40,3 +40,4 @@ tokio = {version = "1.41.1", features = ["sync"]}
4040
opus = {version = "0.3.0", optional = true}
4141
ravif = {version = "0.11.11", optional = true}
4242
opencv = {version = "0.93.4", optional = true}
43+
image = {version = "0.25.5", optional = true}

0 commit comments

Comments
 (0)