Back to Servo

servo-capi

ffi/capi/README.md

0.4.0449 B
Original Source

servo-capi

This crate provides a C FFI wrapper for Servo's native Rust API.

The goal is to allow Servo to be consumed by embedders in other languages and eventually also provide a stable ABI for Servo by wrapping this crate again in a Rust API.

Testing

The tests for the C API exposed by this crate live in the servo-capi-tests crate that lives in tests/capi. Refer to that crate's README.md for the rationale and how to run the tests.