Skip to content

chore(mcpp): clean up mcpp.toml + bump to 0.2.2#3

Merged
Sunrisepeak merged 1 commit into
masterfrom
chore/mcpp-toml-cleanup-0.2.2
May 9, 2026
Merged

chore(mcpp): clean up mcpp.toml + bump to 0.2.2#3
Sunrisepeak merged 1 commit into
masterfrom
chore/mcpp-toml-cleanup-0.2.2

Conversation

@Sunrisepeak
Copy link
Copy Markdown
Member

Summary

mcpp 0.0.3 made the [language] and [modules] sections inferred defaults; spell them out only when overriding. Drop both blocks and bump version to 0.2.2.

The dep block is unchanged (mbedtls stays public). 0.0.3's transitive walker propagates mbedtls includes to downstream consumers (e.g. mcpplibs.llmapi), so those don't need to repeat the declaration.

Test plan

  • mcpp build clean (release, fresh target/)
  • CI green
  • After merge: tag 0.2.2 → release tarball flows into mcpp-index

mcpp 0.0.3 inferred-defaults catch up with what we'd been spelling
out by hand:
- `[language]` section is gone — `[package].standard` (default `c++23`)
  + `[build]` knobs cover the same ground.
- `[modules].sources` defaults to `src/**/*.{cppm,cpp,cc,c}` and
  `[modules].exports` is no longer consulted (the modgraph derives
  exports from the actual `export module` declarations).

The dependency block stays the same — mbedtls is still a public
runtime dep — but the comment now points at 0.0.3's transitive
walker as the reason downstream consumers (e.g. mcpplibs.llmapi)
don't need to repeat it.
@Sunrisepeak Sunrisepeak merged commit bcdcdc8 into master May 9, 2026
@Sunrisepeak Sunrisepeak deleted the chore/mcpp-toml-cleanup-0.2.2 branch May 9, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant