Getting Started
Takanawa is organized as a Rust workspace with a core planner, an HTTP download engine, native FFI bindings, and package targets for JavaScript, Android, Apple, C#, and C/C++ consumers.
Start from the target you are integrating:
- Rust: use the workspace crates directly.
- Node and Electron: install the Node-API npm package.
- Capacitor: install the Capacitor v8 npm plugin for Android and iOS apps.
- Tauri: install the Tauri v2 npm package and Rust plugin crate.
- Android: install the Kotlin-first AAR from Maven Central.
- Apple and SwiftPM: install the SwiftPM package backed by the prebuilt XCFramework.
- C# and NuGet: install the
YetAnotherAI.Takanawapackage for desktop .NET, Unity, Godot, Android, or iOS. - C and C++: link the C ABI library through CMake or vcpkg.
Use the target matrix when deciding which package matches a runtime.
Workspace Checks
These commands are for contributors working in this repository.
Run the full workspace check:
sh
mise run checkRun tests:
sh
mise run testBuild all distributable artifacts that are available on the current machine:
sh
mise run package