Skip to content

Commit

Permalink
image io feature flags
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Oct 29, 2024
1 parent 3ad4780 commit 812ca88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion cidre/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ cmio = ["cm"]
cv = ["cf", "cg"]
ci = ["cf", "ns"]
cg = ["cf"] # optional io, dispatch, blocks
iio = ["cg"]
iio = ["cg", "blocks"]
objc = ["dep:cidre-macros"]
ns = ["objc"]
nl = ["ns"]
Expand Down
4 changes: 0 additions & 4 deletions cidre/src/cg/image/animation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ impl OptKey {
}
}

#[cfg(feature = "blocks")]
#[doc(alias = "CGAnimateImageAtURLWithBlock")]
#[inline]
pub fn animate_image_at_url_with_block(
Expand All @@ -63,7 +62,6 @@ pub fn animate_image_at_url_with_block(
unsafe { CGAnimateImageAtURLWithBlock(url, options, block).result() }
}

#[cfg(feature = "blocks")]
#[doc(alias = "CGAnimateImageAtURLWithBlock")]
#[inline]
pub fn animate_image_at_url(
Expand All @@ -75,7 +73,6 @@ pub fn animate_image_at_url(
unsafe { CGAnimateImageAtURLWithBlock(url, options, &mut block).result() }
}

#[cfg(feature = "blocks")]
#[doc(alias = "CGAnimateImageDataWithBlock")]
#[inline]
pub fn animate_image_data_with_block(
Expand All @@ -86,7 +83,6 @@ pub fn animate_image_data_with_block(
unsafe { CGAnimateImageDataWithBlock(data, options, block).result() }
}

#[cfg(feature = "blocks")]
#[doc(alias = "CGAnimateImageDataWithBlock")]
#[inline]
pub fn animate_image_data(
Expand Down

0 comments on commit 812ca88

Please sign in to comment.