Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ Thumbs.db
# Xlings

.xlings

# mcpp build artefacts
target/
13 changes: 13 additions & 0 deletions mcpp.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 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:<from-xlings>"

[package."mcpplibs.tinyhttps"]
version = "0.2.1"
source = "mcpp-index+https://github.com/mcpp-community/mcpp-index.git"
hash = "sha256:<from-xlings>"

28 changes: 28 additions & 0 deletions mcpp.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[package]
name = "mcpplibs.llmapi"
version = "0.2.3"
description = "Modern C++ LLM API client with openai-compatible support"
license = "Apache-2.0"
repo = "https://github.com/mcpplibs/llmapi"

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

[targets.llmapi]
kind = "lib"

# Library convention picks `src/llmapi.cppm` automatically — that file
# 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"

[dependencies.mcpplibs]
tinyhttps = "0.2.1"
Loading