leo/package
Alessandro Coglio 92351d0fb3
Merge pull request #1119 from AleoHQ/leo-manifest-dependencies
[Feature] Imports Stabilization
2021-08-20 09:30:36 -07:00
..
src Merge pull request #1119 from AleoHQ/leo-manifest-dependencies 2021-08-20 09:30:36 -07:00
tests fmt stable only features, test all the platforms, cc stable 2021-07-14 13:55:01 -07:00
Cargo.toml Merge branch 'master' into leo-manifest-dependencies 2021-08-19 18:04:05 +03:00
LICENSE.md Adds LICENSE.md 2021-02-10 22:23:45 -08:00
README.md Merge branch 'master' into leo-manifest-dependencies 2021-08-19 18:04:05 +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.