Wyn now has 36 official packages and a live package registry at pkg.wynlang.com.
Install anything in one command
bash
wyn pkg install sqlite
wyn pkg install bcrypt
wyn pkg install webPackages are declared in wyn.toml:
toml
[dependencies]
sqlite = "^3.47"
bcrypt = "^0.1"What's included
The official packages cover the most common needs:
Databases: sqlite, pg, mysql, redis Web: web framework, http-client, https, websocket, jwt Security: bcrypt, jwt, crypto (builtin) CLI: args, color, table, log, dotenv Graphics: gui (SDL2), raylib Mail: smtp
Most of these are thin wrappers around battle-tested C libraries - sqlite bundles the actual SQLite 3.47.2 source, pg wraps libpq, bcrypt wraps the OpenBSD implementation.
The registry
The registry supports:
wyn pkg search <query>- fuzzy searchwyn pkg info <name>- package detailswyn pkg install <name>@<version>- pinned versionswyn pkg push- publish your own packages- Semver resolution with
^,~,>=constraints
What's next
Community packages. The registry is open - anyone can wyn pkg register and start publishing. We're hoping to see ORMs, template engines, testing frameworks, and more from the community.
Related Posts
- Dogfooding: Building the Package Registry in Wyn - how the registry was built
- Wyn v1.9 Release - the release that completed the package ecosystem
Related Docs
- Using Packages - install and manage dependencies
- Creating Packages - publish your own packages
- Package CI - automate package testing and publishing