mirror of
https://github.com/AleoHQ/leo.git
synced 2024-11-30 17:52:46 +03:00
92351d0fb3
[Feature] Imports Stabilization |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE.md | ||
README.md |
leo-package
Description
This module defines the structure of a Leo project package. And describes behavior of package internals, such as Leo Manifest (Leo.toml), Lock File (Leo.lock), source files and imports.
Mainly used by Leo binary.
Structure
Each directory in this crate mirrors a corresponding file generated in a new Leo project package:
package/src
├── errors # crate level error definitions
├── imports # program imports management
├── inputs # program inputs directory
├── outputs # program outputs directory
├── root # program root: Leo.toml, Leo.lock
└── source # source files directory
Testing
Package features functional tests in the tests/
directory.