feat: add package name validation in default manifest generation; clarify pkg-config dependency requirements

This commit is contained in:
2026-09-13 14:46:57 +08:00
parent be14cfb8e2
commit 6c79340736
4 changed files with 27 additions and 9 deletions

View File

@@ -56,9 +56,10 @@ fmt = { pkg-config = "fmt" }
openssl = { pkg-config = ["openssl", "libcrypto"] }
```
The `pkg-config` executable and the named packages must be available in `PATH` and
`PKG_CONFIG_PATH`. These dependencies are not downloaded or built by DCR; they are
recorded in `dcr.lock` with a `pkg-config+...` source.
The `pkg-config` executable must be available in `PATH`. The named `.pc` files must
be available through pkg-config's standard search paths or via `PKG_CONFIG_PATH`.
These dependencies are not downloaded or built by DCR; they are recorded in
`dcr.lock` with a `pkg-config+...` source.
## Registry