Skip to content

Commit e8c0807

Browse files
committed
fix: use namespace syntax for deps + bump to mcpp 0.0.13
- mcpp.toml: version 0.2.2 → 0.2.3, deps use canonical namespace subtable ([dependencies.compat] mbedtls, [dev-dependencies.compat] gtest) - .xlings.json: mcpp 0.0.11 → 0.0.13 - CI: xlings 0.4.30 → 0.4.31, add xlings update step
1 parent 9c94a23 commit e8c0807

3 files changed

Lines changed: 11 additions & 16 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
# Bootstrap xlings — the tool that the workspace's `.xlings.json`
16-
# binds tool versions to (here it pins mcpp 0.0.8).
1715
- name: Install xlings
1816
env:
19-
XLINGS_VERSION: 0.4.30
17+
XLINGS_VERSION: 0.4.31
2018
run: |
2119
tarball="xlings-${XLINGS_VERSION}-linux-x86_64.tar.gz"
2220
curl -fsSL -o "/tmp/${tarball}" \
@@ -25,20 +23,17 @@ jobs:
2523
"/tmp/xlings-${XLINGS_VERSION}-linux-x86_64/subos/default/bin/xlings" self install
2624
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
2725
28-
# Resolves `.xlings.json` → installs mcpp (and any other
29-
# workspace tools listed). Idempotent on cache hits.
30-
- name: Install workspace tools (.xlings.json)
26+
- name: Refresh package index
27+
run: xlings update
28+
29+
- name: Install workspace tools (.xlings.json → mcpp 0.0.13)
3130
run: xlings install -y
3231

33-
# Cache mcpp's self-bootstrapped sandbox: musl-gcc + binutils +
34-
# glibc + ninja + patchelf, plus the cloned mcpp-index. ~800 MB
35-
# one-time download — reused across runs since mcpp 0.0.11's
36-
# toolchain set is version-pinned.
3732
- name: Cache mcpp sandbox
3833
uses: actions/cache@v4
3934
with:
40-
path: ~/.xlings/data/xpkgs/xim-x-mcpp/0.0.11/registry
41-
key: mcpp-sandbox-${{ runner.os }}-mcpp0.0.11
35+
path: ~/.xlings/data/xpkgs/xim-x-mcpp/0.0.13/registry
36+
key: mcpp-sandbox-${{ runner.os }}-mcpp0.0.13
4237

4338
- name: Build with mcpp
4439
run: mcpp build

.xlings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"workspace": {
3-
"mcpp": { "linux": "0.0.11" }
3+
"mcpp": { "linux": "0.0.13" }
44
}
55
}

mcpp.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[package]
22
namespace = "mcpplibs"
33
name = "tinyhttps"
4-
version = "0.2.2"
4+
version = "0.2.3"
55
description = "Minimal C++23 HTTP/HTTPS client with SSE streaming support"
66
license = "Apache-2.0"
77
repo = "https://github.com/mcpplibs/tinyhttps"
88

99
[targets.tinyhttps]
1010
kind = "lib"
1111

12-
[dependencies]
12+
[dependencies.compat]
1313
mbedtls = "3.6.1"
1414

15-
[dev-dependencies]
15+
[dev-dependencies.compat]
1616
gtest = "1.15.2"

0 commit comments

Comments
 (0)