Skip to content

Commit b10ac1c

Browse files
committed
chore: migrate deps to namespace syntax (mcpp 0.0.6)
Updates mcpp.toml to use explicit namespace fields: - [package].namespace added - [package].name uses short name only - [dependencies.compat] / [dev-dependencies.compat] for non-modular libs - [dependencies.mcpplibs.capi] for C API wrappers
1 parent f64d999 commit b10ac1c

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

mcpp.toml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,16 @@
11
[package]
2-
name = "mcpplibs.llmapi"
2+
namespace = "mcpplibs"
3+
name = "llmapi"
34
version = "0.2.5"
45
description = "Modern C++ LLM API client with openai-compatible support"
56
license = "Apache-2.0"
67
repo = "https://github.com/mcpplibs/llmapi"
78

89
[build]
9-
# `src/json/json.cppm` does `#include <json.hpp>`; expose its sibling
10-
# header by adding `src/json` to the include search path.
1110
include_dirs = ["src/json"]
1211

1312
[targets.llmapi]
1413
kind = "lib"
1514

16-
# Library convention picks `src/llmapi.cppm` automatically — that file
17-
# already does `export module mcpplibs.llmapi;` and re-exports every
18-
# partition + the third-party `mcpplibs.llmapi.nlohmann.json` module,
19-
# so consumers just `import mcpplibs.llmapi;`.
20-
#
21-
# mbedtls is pulled transitively through tinyhttps (which lists it as a
22-
# direct dep). mcpp 0.0.3's transitive walker propagates its include_dirs
23-
# along that chain, so we don't repeat the declaration here.
24-
2515
[dependencies.mcpplibs]
2616
tinyhttps = "0.2.2"

0 commit comments

Comments
 (0)