johnthagen / johnthagen/min-sized-rust

Mention feature unification?

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
9.8k
Forks
247
PR merge metrics
No merged PRs in 30d

Description

Binary crates can be built with or without feature unification. Building without sometimes results in a smaller artefact.

I'm unsure if this is worth mentioning, but I found no issues or pull requests mentioning it so I thought it may be worthwhile to bring up at least once. If it is, then I would be happy to write something up.

Examples:
```sh
# Unification enabled:
cargo build
cargo build --bin my-crate
```
```sh
# Unification disabled:
cd my-crate && cargo build
cargo build --package my-crate
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.