From 799fc3f61b5e35585bb1bab3f4284593683e4b43 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Sun, 10 May 2026 03:28:28 +0800 Subject: [PATCH] chore(mcpp): drop redundant mbedtls dep + bump to 0.2.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mcpp 0.0.3's transitive walker propagates `[build].include_dirs` along the dep chain, so mbedtls's headers reach our llmapi compilation through `tinyhttps → mbedtls` without us re-listing mbedtls explicitly. The previous comment ("mcpp 0.0.2 doesn't propagate transitive includes") is no longer accurate. Bumps the tinyhttps dep from 0.2.1 to 0.2.2, which is the schema-cleanup release on top of 0.2.1 (no API change). --- mcpp.lock | 7 +------ mcpp.toml | 14 ++++++-------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/mcpp.lock b/mcpp.lock index 0ce7ff6..23cee57 100644 --- a/mcpp.lock +++ b/mcpp.lock @@ -1,13 +1,8 @@ # Auto-generated by mcpp. Do not edit by hand. version = 1 -[package."mbedtls"] -version = "3.6.1" -source = "mcpp-index+https://github.com/mcpp-community/mcpp-index.git" -hash = "sha256:" - [package."mcpplibs.tinyhttps"] -version = "0.2.1" +version = "0.2.2" source = "mcpp-index+https://github.com/mcpp-community/mcpp-index.git" hash = "sha256:" diff --git a/mcpp.toml b/mcpp.toml index 793a716..2147900 100644 --- a/mcpp.toml +++ b/mcpp.toml @@ -1,6 +1,6 @@ [package] name = "mcpplibs.llmapi" -version = "0.2.3" +version = "0.2.5" description = "Modern C++ LLM API client with openai-compatible support" license = "Apache-2.0" repo = "https://github.com/mcpplibs/llmapi" @@ -17,12 +17,10 @@ kind = "lib" # already does `export module mcpplibs.llmapi;` and re-exports every # partition + the third-party `mcpplibs.llmapi.nlohmann.json` module, # so consumers just `import mcpplibs.llmapi;`. - -# Direct deps. mbedtls is also pulled by mcpplibs.tinyhttps, but mcpp -# 0.0.2 doesn't propagate transitive includes — list it here so its -# headers are visible while compiling tinyhttps's TLS partition. -[dependencies] -mbedtls = "3.6.1" +# +# mbedtls is pulled transitively through tinyhttps (which lists it as a +# direct dep). mcpp 0.0.3's transitive walker propagates its include_dirs +# along that chain, so we don't repeat the declaration here. [dependencies.mcpplibs] -tinyhttps = "0.2.1" +tinyhttps = "0.2.2"