Runtime: Feature flags for optional stdlib modules #252
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
rust
technical-debt
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
navicore/patch-seq#252
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implement Cargo feature flags to allow opt-in compilation of stdlib modules. This keeps the core runtime small while allowing full batteries for apps that need them.
Proposed Feature Structure
Binary Size Targets
coreonlycore+httpcore+cryptofullImplementation
#[cfg(feature = "...")]Deliverables Checklist
crates/runtime/Cargo.tomldocs/BATTERIES_INCLUDED.mdwith final binary sizesCompiler Integration (Future)
Eventually the compiler could:
References
docs/BATTERIES_INCLUDED.mdFeature Flags & Binary Size sectionhttps://github.com/navicore/patch-seq/pull/262