yggdrasil-elf/Cargo.toml
Christopher Cole be60cccbf9
Add to_str feature which exports to_str and Display impls for gabi constants
This has a few motivations:
* Move the big blocks of code dedicated to providing human readable strings for
  gabi constants out of the way. This code can be long and distracting from the actual
  parsing functionality.
* Allow users to opt out of this functionality if they don't need it. The big blocks
  of &'static str definitions can add a fair amount to the resulting library size. For
  users who are trying to optimize for library size, these to_str methods are often unneeded.
* The to_str method's Option return value allows users to decide how they want to display
  unknown values.
2022-10-30 14:26:07 -07:00

23 lines
510 B
TOML

[package]
name = "elf"
version = "0.5.0"
authors = ["Christopher Cole <chris.cole.09@gmail.com>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/cole14/rust-elf/"
documentation = "https://docs.rs/elf/latest/elf/"
description = "A pure-rust library for parsing ELF files"
keywords = ["binary", "elf", "object", "parser"]
categories = ["no-std", "os", "embedded"]
readme = "README.md"
edition = "2021"
[lib]
name = "elf"
[dependencies]
[features]
default = ["std", "to_str"]
std = []
to_str = []