Skip to content

feat: add rust demo and broaden csharp and node runtime compatibility - #5

Merged
Maxerns merged 3 commits into
mainfrom
feat/rust-and-runtime-compat
Oct 26, 2026
Merged

Maxerns merged 3 commits into
mainfrom
feat/rust-and-runtime-compat

Conversation

@Maxerns

@Maxerns Maxerns commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • allow csharp/Demo.csproj to roll forward across major .NET versions (TargetFramework net8.0 with RollForward LatestMajor) so developers with .NET 8, 9, or 10 installed locally can run the C# example without installing another SDK while CI continues testing on .NET 10
  • clarify the actual minimum Node.js versions in javascript/README.md (Node.js 18 or newer) and typescript/README.md (Node.js 22.18 or newer) while noting 24 LTS in CI
  • add a ninth language example in rust/ (Cargo.toml, src/main.rs, and README.md) using only the Rust standard library and wire it into scripts/check_examples.py and .github/workflows/check-examples.yml

Testing

  • ran python3 scripts/check_examples.py python javascript typescript java go rust locally across missing, empty, zero, and present cases
  • GitHub Actions runs all nine language checks on Ubuntu, macOS, and Windows

target net8.0 with latest major roll forward enabled so developers with dotnet 8, 9, or 10 installed locally can build and run the csharp example without installing another sdk while ci continues testing against dotnet 10.

Signed-off-by: Maxerns <maksafk@gmail.com>
…uides

the javascript example uses only standard process environment apis supported since node 18, and the typescript example uses built in type stripping available without flags since node 22.18. state the actual minimum runtime versions while noting that ci exercises node 24 lts.

Signed-off-by: Maxerns <maksafk@gmail.com>
…nner

introduce a dependency free rust example that reads demo secret from the process environment with the same exit code and message contract as the existing eight languages. prebuild the binary in check examples before running the four test cases across ubuntu, macos, and windows.

Signed-off-by: Maxerns <maksafk@gmail.com>
@Maxerns
Maxerns merged commit 9d87272 into main Oct 26, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant