Skip to content

Commit 0da2df2

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 cca6df0 commit 0da2df2

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

mcpp.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[package]
2-
name = "mcpplibs.cmdline"
2+
namespace = "mcpplibs"
3+
name = "cmdline"
34
version = "0.0.2"
45
description = "A simple command-line parsing library/framework for modern C++"
56
license = "Apache-2.0"
67
authors = ["mcpplibs"]
78
repo = "https://github.com/mcpplibs/cmdline"
89

9-
# Library target — exposes module `mcpplibs.cmdline` to dependents.
10-
# Sources default to src/**/*.{cppm,cpp,cc,c}; tests/ and examples/ are
11-
# discovered separately (`mcpp test` / standalone builds).
1210
[targets.cmdline]
1311
kind = "lib"
1412

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

0 commit comments

Comments
 (0)