A wrapper for rav1e.
rav1e is the fast Rust library of AV1 image encoding.
Since Xcode does not support Rust, we provide a pre-built binary on target platforms and CocoaPods spec.
- iOS 9
- macOS 10.11 (64-bit only)
tvOS and watchOS is not supported currently because of Rust language itself, see: rust-lang/rust#48862
librav1e is available through CocoaPods.
pod 'librav1e', '~> 0.3.0'
librav1e is available through Carthage.
Carthage dependency is Binary only frameworks, see: Cartfile Syntax.
You should use the following Cartfile syntax to include the dependency:
binary "https://raw.githubusercontent.com/SDWebImage/librav1e-Xcode/master/librav1e.json" ~> 0.3.0
librav1e repo contains the pre-built framework in Release Page. You can just download the zip and add framework to your Xcode project and use.
You can use rav1e this Rust library by using the generated C API with cargo-c.
librav1e is available under the BSD 2-Clause License.