Skip to content

[RFC] split rustpython_stdlib from rustpython_vm #3102

@youknowone

Description

@youknowone

Summary

Split rustpython_stdlib from rustpython_vm which contains non-necessary rust modules for vm itself.

Detailed Explanation

Advantages:

  • We will have pressure to define public APIs by dogfooding, because rustpython_stdlib cannot access rustpython_vm private.
  • Compiling will be faster by deviding crates. At least fot rustpython_stdlib.
  • stdlib can be a feature. Without it, the binary size will be smaller than now.

Drawbacks, Rationale, and Alternatives

Unresolved Questions

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRequest for comments

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions