# hermit-entry
[](https://crates.io/crates/hermit-entry)
[](https://docs.rs/hermit-entry/latest/hermit_entry/)
[](https://github.com/hermitcore/hermit-entry/actions/workflows/ci.yml)
Hermit's loading and entry API.
## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.
## Hermit images
This Rust crate also implements a basic reader for Hermit images.
Overall, these are just `.tar.gz` (i.e. gzipped tar) files.
They contain at least 2 special entries:
* The config file (in TOML format), at `hermit.toml` in the image root.
The expected entries are described in the crate documentation in `hermit_entry::config::Config` (requires enabling the `config` feature).
* A Hermit Kernel ELF file, whose path is specified in the config.
All subdirectories of the image itself are mapped
(from the Hermit kernel perspective) into `/`.