From e63ce3b2622f8138177c8e2e36645e2ae384125f Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Sun, 10 May 2026 03:11:09 +0800 Subject: [PATCH] chore(mcpp): clean up mcpp.toml + bump to 0.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- mcpp.toml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/mcpp.toml b/mcpp.toml index d8c8ba7..dc89510 100644 --- a/mcpp.toml +++ b/mcpp.toml @@ -1,24 +1,16 @@ [package] name = "mcpplibs.tinyhttps" -version = "0.2.0" +version = "0.2.2" description = "Minimal C++23 HTTP/HTTPS client with SSE streaming support" license = "Apache-2.0" repo = "https://github.com/mcpplibs/tinyhttps" -[language] -standard = "c++23" -modules = true -import_std = true - -[modules] -sources = ["src/**/*.cppm"] -exports = ["mcpplibs.tinyhttps"] - [targets.tinyhttps] kind = "lib" -# mbedtls is the only runtime dep. xmake.lua used `add_packages("mbedtls", { public = true })`; -# the mcpp build picks up mbedtls's headers + libmbedtls.a transparently. +# mbedtls is the only runtime dep. mcpp 0.0.3's transitive walker pulls +# its headers + libmbedtls.a into anything that imports tinyhttps, so +# downstream projects (e.g. mcpplibs.llmapi) don't need to repeat it. [dependencies] mbedtls = "3.6.1"