leo/package
2021-08-02 18:51:01 +03:00
..
src fix bug in detecting recursive dependencies 2021-07-23 14:14:48 +03:00
tests adds integration tests to Leo CLI 2021-04-21 13:01:11 +03:00
Cargo.toml Merge branch 'master' into leo-manifest-dependencies 2021-08-02 18:51:01 +03:00
LICENSE.md Adds LICENSE.md 2021-02-10 22:23:45 -08:00
README.md update leo-package README 2021-07-19 19:01:22 +03:00

leo-package

Crates.io Authors License

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.