I'm aware of Package Manager MVP (https://github.com/ziglang/zig/pull/14265) and I assume that's the official package manager solution. However because of the lack of documentation I can't figure out how to add a module or package, like clap (https://github.com/Hejsil/zig-clap) to my own project.
What's the build.zig.zon (https://github.com/ziglang/zig/issues/14290) ? I guess it's like package.json or Cargo.toml but where is its specification?
Demo
andy@ark ~> cd tmp/
andy@ark ~/tmp> git clone https://github.com/andrewrk/ffmpeg --depth 1
Cloning into 'ffmpeg'...
remote: Enumerating objects: 4138, done.
remote: Counting obje...
Simple command line argument parsing library. Contribute to Hejsil/zig-clap development by creating an account on GitHub.
Extracted from #14265. Zig Object Notation Instead of... [package] name=libffmpeg version=5.1.2 [dependency] name=libz url=https://github.com/andrewrk/libz/archive/f0e53cc2391741034b144a2c2076ed8a9...