Skip to content

Commit 3e43dad

Browse files
committed
Delegate linkage to v0.1
1 parent 92544fe commit 3e43dad

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

Cargo.lock

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
name = "libwebp-sys2"
33
version = "0.1.11"
44
authors = ["Masaki Hara <ackie.h.gmai@gmail.com>"]
5-
links = "webp"
6-
build = "build.rs"
5+
# links = "webp"
6+
# build = "build.rs"
77
edition = "2024"
88
rust-version = "1.85"
99

@@ -27,19 +27,21 @@ name = "libwebp_sys"
2727
[dependencies]
2828
cfg-if = "1.0.0"
2929
libc = "0.2.169"
30+
# Delegate linkage
31+
libwebp-sys2-01 = { version = "0.1.10", package = "libwebp-sys2" }
3032

3133
[features]
3234
default = ["std", "1_2"]
3335
std = []
34-
demux = []
35-
mux = []
36+
demux = ["libwebp-sys2-01/demux"]
37+
mux = ["libwebp-sys2-01/mux"]
3638
"0_5" = []
3739
"0_6" = ["0_5"]
3840
"1_1" = ["0_6"]
3941
"1_2" = ["1_1"]
4042
"1_4" = ["1_2"]
4143
"1_5" = ["1_4"]
42-
static = []
44+
static = ["libwebp-sys2-01/static"]
4345
extern-types = []
4446
__doc_cfg = ["1_5", "demux", "mux"]
4547

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#[macro_use]
66
extern crate cfg_if;
7+
extern crate libwebp_sys2_01;
78

89
pub use crate::decode::*;
910
#[cfg(feature = "demux")]

0 commit comments

Comments
 (0)