🎥 Make videos programmatically with React
add documentation for compositor
Jonny Burger061e0d746c97
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 27647d746d..cd340e1123 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -72,7 +72,7 @@ pnpm testin either a subpackage to run tests for that package or in the root to run all tests.-### Testing `@remotion/player`+### Running the `@remotion/player` testbedYou can test changes to [@remotion/player](https://remotion.dev/docs/player) by starting the Player testbed:@@ -83,7 +83,7 @@ pnpm startFor information about testing, please consult [TESTING.md](./TESTING.md).-### Testing documentation+### Running documentationYou can run the Docusaurus server that powers our docs using:@@ -91,3 +91,7 @@ You can run the Docusaurus server that powers our docs using:cd packages/docspnpm start```++### Developing Rust parts++To develop the Rust parts of Remotion, see the README in [compositor/README.md](compositor/README.md)diff --git a/packages/compositor/README.md b/packages/compositor/README.mdindex f91933e846..e273fb26db 100644--- a/packages/compositor/README.md+++ b/packages/compositor/README.md@@ -1,16 +1,29 @@# Rust development+To participate in the development of the Rust parts of Remotion, you need to do additional steps. If you don't want to change the Rust code, you don't have to set anything up.++## Setup++These are instructions for macOS. Contributions for other platforms are appreciated.++First, install Cargo, if you don't have it, or upgrade to a version that supports `edition-2021`:++```+curl https://sh.rustup.rs -sSf | sh+```++Second, install components that allow for cross-compilation:+```shsh install_platforms.sh```+Third, install linkers for cross compilation:+```shbrew install MaterializeInc/crosstools/x86_64-unknown-linux-gnubrew install MaterializeInc/crosstools/aarch64-unknown-linux-gnubrew install messense/macos-cross-toolchains/x86_64-unknown-linux-muslbrew install messense/macos-cross-toolchains/aarch64-unknown-linux-musl-```--```shbrew install mingw-w64```