rivetkit-actor-persist 2.3.21

Versioned persistence protocol types for RivetKit actors
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::path::PathBuf;

fn main() -> Result<(), Box<dyn std::error::Error>> {
	let manifest_dir = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR")?);
	let schema_dir = manifest_dir.join("schemas");

	let cfg = vbare_compiler::Config::default();
	vbare_compiler::process_schemas_with_config(&schema_dir, &cfg)?;

	Ok(())
}