Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
23ca1fb
chore: files changed api/Cargo.toml,api/src/capabilities.rs,api/src/c…
senamakel Aug 10, 2026
85fb49f
fix(api): remove unused import in lib.rs
senamakel Aug 10, 2026
68a677f
fix(api): remove unused import in lib.rs
senamakel Aug 10, 2026
a9b19e5
feat: rename project from rust-template to tinymemory and set up work…
senamakel Aug 10, 2026
576a374
chore: files changed src/registry/mod.rs
senamakel Aug 10, 2026
edbbd54
fix(registry): handle missing class in registry lookup
senamakel Aug 10, 2026
8caf89a
fix(registry): handle empty package name in test helper
senamakel Aug 10, 2026
f27e13c
chore: files changed src/lib.rs
senamakel Aug 10, 2026
0370984
feat: stand up the tinymemory workspace with the memory contract and …
enamakel Aug 10, 2026
1899b7e
fix(mandatory): handle empty input in mandatory module
senamakel Aug 10, 2026
440bdc1
fix(mandatory): handle missing provider gracefully
senamakel Aug 10, 2026
cef9ff2
fix(test): correct test assertion for mandatory field validation
senamakel Aug 10, 2026
7a13bba
feat(mandatory): share the three mandatory capability families across…
enamakel Aug 10, 2026
735cf6b
chore(deps): add tinycortex as a git submodule and vendor dependency
senamakel Aug 10, 2026
73156ec
fix(convert): handle missing cortex version in conversion
senamakel Aug 10, 2026
5d810d5
chore: files changed adapters/tinycortex/src/lib.rs
senamakel Aug 10, 2026
bbc8f9f
fix(adapters/tinycortex): handle memory alignment for unaligned accesses
senamakel Aug 10, 2026
6d56b6a
chore(deps): update dependencies in Cargo.lock and Cargo.toml
senamakel Aug 10, 2026
c0f7eac
chore: files changed adapters/tinycortex/src/memory_test.rs
senamakel Aug 10, 2026
c58ca49
feat(adapters): add the TinyCortex engine adapter and pin the engine …
enamakel Aug 10, 2026
3479198
chore: files changed Cargo.lock
senamakel Aug 10, 2026
ae8124a
chore(deps): downgrade idna_adapter and remove unused ICU dependencies
senamakel Aug 10, 2026
0d6f28a
chore: files changed rust_out
senamakel Aug 10, 2026
999b6bd
chore: files changed tmp
senamakel Aug 10, 2026
c97ee71
chore(tmp): reduce binary size
senamakel Aug 10, 2026
70dbf69
chore: files changed Cargo.toml
senamakel Aug 10, 2026
1a11714
chore: files changed src/mandatory/mod.rs
senamakel Aug 10, 2026
b8551f7
docs: use fully qualified paths for MemoryTaint and MemoryTraitProvider
senamakel Aug 10, 2026
a92fda8
feat(api): add custom memory category and improve error handling
senamakel Aug 10, 2026
6c0de9f
chore: reformat long method chains for readability
senamakel Aug 10, 2026
b3181de
refactor(registry): replace derive macro with manual error trait impl
senamakel Aug 10, 2026
0181194
chore: files changed src/registry/mod.rs
senamakel Aug 10, 2026
36084a0
fix(registry): add doc comment to DriverClassParseError::Unknown variant
senamakel Aug 10, 2026
fccadea
test(chunks): add expected value assertion to deterministic test
senamakel Aug 10, 2026
4232c35
chore: files changed api/src/chunks_tests.rs
senamakel Aug 10, 2026
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Security reports
url: https://github.com/tinyhumansai/rust-template/security/policy
url: https://github.com/tinyhumansai/tinymemory/security/policy
about: Please do not report vulnerabilities through public issues.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# This job executes repository code (cargo build/test); don't persist
# the token in git config.
persist-credentials: false
submodules: true
submodules: recursive

- uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- uses: actions/checkout@v7
with:
persist-credentials: false
submodules: true
submodules: recursive

- uses: dtolnay/rust-toolchain@stable

Expand All @@ -74,14 +74,14 @@ jobs:
- uses: actions/checkout@v7
with:
persist-credentials: false
submodules: true
submodules: recursive

- name: Read rust-version from Cargo.toml
id: msrv
run: |
set -euo pipefail
msrv="$(cargo metadata --format-version 1 --no-deps \
| jq -r '.packages[0].rust_version')"
| jq -r '.packages[] | select(.name == "tinymemory") | .rust_version')"
if [[ -z "$msrv" || "$msrv" == "null" ]]; then
echo "package.rust-version is not set in Cargo.toml" >&2
exit 1
Expand All @@ -104,7 +104,7 @@ jobs:
- uses: actions/checkout@v7
with:
persist-credentials: false
submodules: true
submodules: recursive

- name: Check advisories, licenses, bans, and sources
uses: EmbarkStudios/cargo-deny-action@v2
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
path = vendor/tinybus
url = https://github.com/tinyhumansai/tinybus
branch = main
[submodule "vendor/tinycortex"]
path = vendor/tinycortex
url = https://github.com/tinyhumansai/tinycortex.git
branch = main
31 changes: 10 additions & 21 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,19 @@ This file is the single source of truth for how humans and coding agents work
in this repository. `CLAUDE.md` is a symlink to this file, so every agent reads
the same instructions.

When you generate a new project from this template, keep this file and adapt
the project-specific parts (crate name, module map, feature flags, commands).
Delete guidance that no longer applies rather than leaving it to rot.

## Template Checklist

Do this once, in a single commit, before writing feature code:

- [ ] Set `name`, `description`, `repository`, `keywords`, and `categories` in
`Cargo.toml`.
- [ ] Rename the crate references in `README.md`, `src/lib.rs`, `examples/`,
and `tests/` (search for `rust_template` and `rust-template`).
- [ ] Replace the placeholder `greeting` module with the first real feature
area, keeping the `mod.rs` / `types.rs` / `test.rs` layout.
- [ ] Confirm `license` and `LICENSE` match the project's intended license.
- [ ] Update the security contact in `SECURITY.md`.
- [ ] Replace `ROADMAP.md` with the real plan, or delete it.
- [ ] Decide whether the project uses TinyBus. Keep `vendor/tinybus` pinned and
wire the required crate/features, or remove the submodule deliberately.
- [ ] Rewrite the "Project Structure" section below to describe this crate.
Adapt the project-specific parts as the crate changes, and delete guidance that
no longer applies rather than leaving it to rot.

## Project Structure

This is a Rust 2024 library crate rooted at `Cargo.toml`.
This is a Cargo **workspace**: the `tinymemory` facade at the root, the
`tinymemory-api` contract in `api/`, and one engine adapter per directory under
`adapters/`. Engines themselves are submodules under `vendor/`, excluded from
the workspace.

See [`README.md`](README.md) for the layout and the rules that govern it — in
particular, why policy stays in the host and why adapters name their engines by
version requirement rather than by path.

```text
src/
Expand Down
Loading
Loading