leo/package
2022-01-21 12:04:37 -08:00
..
src migrate spans crate, which involves rust 2021 ed, and dep updates 2022-01-21 12:04:37 -08:00
tests fmt stable only features, test all the platforms, cc stable 2021-07-14 13:55:01 -07:00
Cargo.toml migrate spans crate, which involves rust 2021 ed, and dep updates 2022-01-21 12:04:37 -08: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.