Project Structure
manifest.json
Cargo.toml
Development Workflow
- Write code in
src/lib.rs - Test locally with
cargo test - Build WASM with
pryveo build --release - Package with
pryveo package - Install and test in Pryveo
- Iterate based on feedback
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
my-app/
├── Cargo.toml
├── manifest.json
└── src/
└── lib.rs
{
"id": "com.example.myapp",
"name": "My Awesome App",
"version": "1.0.0",
"description": "A brief description of what your app does",
"author": "Your Name",
"permissions": [
"inference",
"storage",
"clipboard_read"
],
"wasm_file": "myapp.wasm",
"icon": null,
"homepage": "https://example.com/myapp",
"repository": "https://github.com/user/myapp",
"metadata": {
"category": "productivity",
"tags": ["ai", "productivity"],
"min_platform_version": "0.1.0"
}
}
[package]
name = "myapp"
version = "1.0.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
pryveo-sdk = { path = "../pryveo-sdk" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
src/lib.rscargo testpryveo build --releasepryveo package