Skip to content

Embedding without standard library  #3090

Closed

Description

@Suncradle

Apologies if this has been asked before. Is it possible (or planned to be) to embed rustpython in an application with only a subset of the standard library? The size is a problem for small, portable applications, and most of it is unnecessary or nonfunctional (for example, in sandboxed wasm)

Activity

  1. fanninpm commented on Sep 21, 2021

    @fanninpm
    Contributor

    See also #3102

  2. youknowone commented on Feb 25, 2023

    @youknowone
    Member

    we now can do it. excluding stdlib slightly help it. but not that much. we need a lot more work to make embedding-appropriate sized binary

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions