Skip to content

[FEATURE] Publish the native Rust crate to crates.io #151

Description

@TheWitcherish

Could you publish the crate to crates.io? It'd let Rust agents link it directly.

Today strands-shell on crates.io is a 0.0.0 placeholder and the install paths are pip / npm / WASM. But the crate already builds as a Rust library: Cargo.toml declares crate-type = ["cdylib", "rlib"] with native Rust as the default build and python / node / wasm as opt-in features. So this is a publish step, not a port.

Why: building an agent in Rust, I'd like the same in-process, Kernel-sandboxed shell as a native dependency, instead of running the MCP server as a separate uvx subprocess. A published crate makes that a one-line cargo add strands-shell.

Scope: release.yml already stamps the version into the manifests (via the stamp-version action) and publishes to PyPI and npm through OIDC trusted publishing, after a manual approval and tag. There's no cargo publish step. Publishing the crate would be a sibling publish job on the same stamped version, plus flipping the crates.io placeholder.

I can test the published crate from a real Rust agent if that helps.

Activity

  1. TheWitcherish commented on Oct 24, 2026

    @TheWitcherish
    Author
  2. ferdingler commented on Oct 31, 2026

    @ferdingler
    Collaborator

    yes, I'd like to publish the library to crates.io. I plan to get to this soon because we need it for Strands Box as well.

  3. added
    enhancement
    rust
    on Nov 2, 2026
  4. added theissue type on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementrust

    Fields

    Language

    Rust

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions