Home

Awesome

librav1e + Xcode

Version License Platform

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.

Requirements

tvOS and watchOS is not supported currently because of Rust language itself, see: rust-lang/rust#48862

Installation

CocoaPods

librav1e is available through CocoaPods.

pod 'librav1e', '~> 0.3.0'

Carthage

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

Manual

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.

Usage

You can use rav1e this Rust library by using the generated C API with cargo-c.

License

librav1e is available under the BSD 2-Clause License.