cargo-obs-build
This tool is used to build libOBS and its dependencies. It automatically prepares the environment by putting the required libraries in the target directory. This binary automatically selects the correct version of libOBS to download based on the version of libobs.
You can also specify a custom version like so:
# Other stuff
[] # Can also be [workspace.metadata]
="30.2.2"
="../obs-build" # Optional, defaults to "obs-build", relative to the Cargo.toml file
A Github token can be provided via the GITHUB_TOKEN environment variable to increase the rate limit when downloading releases from GitHub. This is especially useful for CI environments. You can also cache the obs-build directory between runs to avoid re-downloading the binaries (and reducing the chance of hitting the rate limit). You can also reduce API calls by specifying a specific version (either in Cargo.toml or via the --tag flag).