Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Rust Tests

on:
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable

- name: Run cargo test in crates/capsule-core
working-directory: crates/capsule-core
run: cargo test --all --verbose
17 changes: 4 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
# Generated by Cargo
# will have compiled files and executables
debug
target

# These are backup files generated by rustfmt
**/*.rs.bk
.capsule
__pycache__
.DS_Store

# MSVC Windows builds of rustc generate these, which store debugging information
**/*.rs.bk
*.pdb

# Generated by cargo mutants
# Contains mutation testing data
**/mutants.out*/

# RustRover
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rust-analyzer.linkedProjects": [
"crates/capsule-core/Cargo.toml"
]
}
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This document tracks the development status of Capsule. We follow a "Release Ear

**Goal:** Validating the core Host/Guest technology and Python interoperability.

- [ ] **Core:** Rust Host capable of loading Wasm Components.
- [x] **Core:** Rust Host capable of loading Wasm Components.
- [ ] **SDK (Python):** Basic `@task` decorator with JSON serialization.
- [ ] **CLI:** `capsule run main.py` with JIT compilation.
- [ ] **Limits:** Basic Fuel metering for CPU protection.
Expand Down
Loading