servo/ports/libsimpleservo
Samson c0bee7cb86
Format toml files (#30112)
* Add taplo fmt config for toml fmt

* fmt toml files

* Add even-better-toml to extensions recommendations
2023-08-17 15:07:43 +00:00
..
api Format toml files (#30112) 2023-08-17 15:07:43 +00:00
capi Format toml files (#30112) 2023-08-17 15:07:43 +00:00
jniapi Make native-bluetooth a default feature (#30097) 2023-08-14 14:44:47 +00:00
README.md add instruction for building libsimpleservo 2020-12-28 21:34:15 +01:00

libsimpleservo

This is a basic wrapper around Servo. While libservo itself (/components/servo/) offers a lot of flexibility, libsimpleservo (/ports/libsimpleservo/) tries to make it easier to embed Servo, without much configuration needed. It is limited to only one view (no tabs, no multiple rendering area).

Building

Run the following command to generate libsimpleservo

./mach build --release --libsimpleservo

this will generate a shared library (libsimpleservo.so on linux) as well as a header file in target/release that you can then link to your application.