Skip to main content

composer_manifest/
lib.rs

1//! Composer (the PHP package manager) data model.
2//!
3//! Reimplements the Composer surface natively — no phar, no PHP. This crate
4//! holds the Composer-format data models a native implementation reads and
5//! writes: `composer.json` / `composer.lock` ([`lockfile`]) and the Packagist
6//! v2 metadata wire format ([`metadata`]).
7
8pub mod lockfile;
9pub mod metadata;
10
11/// Re-export of the [`composer_php_json`] crate (the byte-exact PHP
12/// `json_encode`, from the shared `composer-rs` workspace), available here as
13/// `composer_manifest::php_json`. New consumers can also depend on
14/// `composer-php-json` directly.
15pub use composer_php_json as php_json;