forc_pkg/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Building, locking, fetching and updating sway projects as Forc packages.
//!
//! A forc package represents a Sway project with a `Forc.toml` manifest file declared at its root.
//! The project should consist of one or more Sway modules under a `src` directory. It may also
//! declare a set of forc package dependencies within its manifest.

pub mod lock;
pub mod manifest;
mod pkg;
pub mod source;

pub use lock::Lock;
pub use manifest::{
    build_profile::BuildProfile, PackageManifest, PackageManifestFile, WorkspaceManifest,
    WorkspaceManifestFile,
};
#[doc(inline)]
pub use pkg::*;