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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
RUSTDOCFLAGS: -D warnings
run: cargo +stable doc --workspace --no-deps --locked

- name: Verify Cargo package contents
run: cargo +stable package -p stack-theme --locked
- name: Verify crates.io package
run: cargo +stable publish --dry-run -p stack-theme --locked

- name: Verify repository files
run: |
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ The current `0.5.0` catalog contains the core `default`, `light`, and `dark` the

Provider-specific assets are not bundled. The provider-pack contract lets a CLI or browser validate an archive that the user explicitly selected from the provider's official source, keep it local, preserve the artwork, and carry source and terms notices into diagram output.

## Cargo package

Add the Rust catalog from crates.io with:

```sh
cargo add stack-theme@0.5.0
```

The package supports Rust 1.85 or newer and includes only the generated catalog API, repository-authored SVG assets, public schemas, package documentation, and the Apache-2.0 license.

## Scope

This repository will own:
Expand Down
6 changes: 6 additions & 0 deletions crates/stack-theme/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
homepage = "https://stack-diagram.com/"
documentation = "https://docs.rs/stack-theme"
readme = "README.md"
publish = ["crates-io"]
keywords = ["stack", "diagram", "theme", "icons"]
categories = ["graphics"]
include = ["src/**", "assets/**", "licenses/**", "schema/**", "README.md", "LICENSE"]

[dependencies]
Expand Down
2 changes: 2 additions & 0 deletions crates/stack-theme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
`stack-theme` exposes the typed Stack theme catalog and embeds the same generated catalog revision as the `@stack-sh/theme` npm package.

The public contract and compatibility policy are documented in the repository's [`CONTRACT.md`](https://github.com/stack-sh/theme/blob/main/CONTRACT.md).

Add version 0.5.0 from crates.io with `cargo add stack-theme@0.5.0`. The package supports Rust 1.85 or newer.