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
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ first-week wedge plan — and `meta init` picks up from there.
| Kotlin | **Maven Central `8.3.1`** — codegen tier on top of Java: 17 generators (entity, Exposed table, names, relations, repository, output-parser, output-prompt, render-helper, extractor, filter-allowlist, validator, Spring config, storedProc, Spring controller, requirement-tests, api-docs, report-export); 24 / 24 persistence-conformance | [`docs/ports/kotlin.md`](docs/ports/kotlin.md) | [`server/java/codegen-kotlin/`](server/java/codegen-kotlin/) · [`server/java/metadata-ktx/`](server/java/metadata-ktx/) |
| C# | **NuGet `1.3.1`** — loader + conformance + EF Core codegen + render engine + `dotnet meta` CLI all shipped | [`docs/ports/csharp.md`](docs/ports/csharp.md) | [`server/csharp/`](server/csharp/) |
| Python | **PyPI `1.3.1`** — loader + conformance + render + entity-model codegen + ObjectManager runtime shipped; schema migrations in your own tool or the Node `meta migrate` reference helper (ADR-0015) | [`docs/ports/python.md`](docs/ports/python.md) | [`server/python/`](server/python/) |
| Rust | **Crates ready to publish, not yet published** — loader (JSON + YAML), project and source resolution, naming and all 41 validation passes; 589 / 589 metamodel conformance; prompt render and the reply parser (`metaobjects-render`); `cargo meta init` / `gen` / `verify` / `eject` with eleven generators — the model crate through the sqlx store, the service and its opt-in axum routes (`service-routes`) to a typed client and its commands (ADR-0065). Schema migrations stay with the Node `meta` tool | [`docs/ports/rust.md`](docs/ports/rust.md) | [`server/rust/`](server/rust/) |
| Rust | **Crates ready to publish, not yet published** — loader (JSON + YAML), project and source resolution, naming and all 41 validation passes; 589 / 589 metamodel conformance; prompt render and the reply parser (`metaobjects-render`); `cargo meta init` / `gen` / `verify` / `eject` with generators: the model crate through the sqlx store, the service and its opt-in axum routes (`service-routes`) to a typed client and its commands (ADR-0065). Schema migrations stay with the Node `meta` tool | [`docs/ports/rust.md`](docs/ports/rust.md) | [`server/rust/`](server/rust/) |

## Capability matrix

Expand Down Expand Up @@ -284,9 +284,9 @@ sixth ships two libraries at their own stability labels:
into its `/db` layer (`["iam", "iam/db"]`). Copy one into your repo with
`meta eject <library>`. See [`docs/features/libraries.md`](docs/features/libraries.md).

**Sharing a model across your own projects** *(TypeScript, Java, Kotlin and C# projects
publish; TypeScript, Python, Java, Kotlin and C# projects consume, from an installed npm or
Python package or over a `path` dependency such as a sibling checkout)* — one project publishes
**Sharing a model across your own projects** *(TypeScript, Python, Java, Kotlin, C# and Rust
projects publish; TypeScript, Python, Java, Kotlin, C# and Rust projects consume, from an installed
npm or Python package or over a `path` dependency such as a sibling checkout)* — one project publishes
part of its model (a common `Customer`, an audited base, a set of enums) with its `shared-model`
generator (`sharedModelFile()` in TypeScript), and another declares it in `dependencies`, syncs it into a
committed, hash-locked snapshot and builds on it with `extends` and references. When the
Expand Down Expand Up @@ -337,7 +337,7 @@ metaobjects/
│ ├── java/ # Java port (incl. codegen-kotlin + metadata-ktx)
│ ├── csharp/ # C# port
│ ├── python/ # Python port
│ └── rust/ # Rust port (ADR-0065 — crates not yet published; cargo meta + eleven generators through the axum transport)
│ └── rust/ # Rust port (ADR-0065 — crates not yet published; cargo meta + generators through the axum transport)
│
└── client/
└── web/ # universal browser packages (React, TanStack, Angular, framework-agnostic)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ metaobjects deps check # shared-model dependencies vs deps.lock.json (a
`deps check` applies when the project declares `dependencies` in `.metaobjects/config.json`: it
hashes each `path` dependency against the lock and fails with `ERR_DEPENDENCY_UPSTREAM_DRIFT` on
`drifted` or `unresolved` (a `maven`, `nuget`, `npm` or `python` dependency reports `unresolved`;
run the Node `meta deps check` for those). Python consumes a shared model but cannot publish one.
run the Node `meta deps check` for those). Python consumes a shared model and publishes one (`metaobjects gen`, the `shared-model` generator).

With no `metaobjects.config.yaml`, `gen` exits 2 and generates nothing. A target's
`generators` takes stable generator names: `entity`, `routes`, `filter-allowlist`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ as package data), run `meta gen`, then release the package as usual; consumers
declare an `npm`, `python`, `maven` or `nuget` dependency on it. With no `version` option the
manifest takes the nearest `package.json` version, else a `pyproject.toml`
`[project]` version — pass `version` when neither is the package consumers install.
TypeScript, Java, Kotlin and C# can *publish* with byte-identical output: the Java and Kotlin
TypeScript, Python, Java, Kotlin, C# and Rust can *publish* with byte-identical output. Python
runs its `shared-model` generator through `metaobjects gen`. Rust runs its opt-in `shared-model`
generator through `cargo meta gen` (options `name`, `include`, `exclude`, `requirements`, `files`,
`version`; the version defaults to the nearest `Cargo.toml` `[package]` or `[workspace.package]`
version, else `package.json`; eject with `cargo meta eject shared-model`). The Java and Kotlin
`shared-model` generator runs through `mvn metaobjects:generate` (`SharedModelGenerator` /
`KotlinSharedModelGenerator`, args `name`, `include`, `exclude`, `files`, `version`; the version
defaults to the module `<version>`); the C# one is `new SharedModelGenerator { ModelName, Include,
Expand All @@ -54,6 +58,6 @@ meta eject shared-model`. A JVM publisher ships the pair as the JAR's `metaobjec
C# publisher as the NuGet package's `metaobjects/` content; consumers declare
`{ "name": "x", "maven": "com.acme:model", "version": "1.0.0" }` or
`{ "name": "x", "nuget": "Acme.Model", "version": "1.0.0" }` (also `npm`/`python`/`path`).
TypeScript, Python, Java, Kotlin and C# *consume*; Python cannot publish. Node `meta deps sync`
TypeScript, Python, Java, Kotlin, C# and Rust *consume*. Node `meta deps sync`
remains the only writer of the lock and snapshot in every port.
Full detail: `docs/features/metadata-dependencies.md`.
Loading
Loading