[package] name = "xd" version = "0.0.4" authors = ["Delan Azabani "] edition = "2018" description = "tool that dumps binary input in a variety of formats" repository = "https://bitbucket.org/delan/xd" readme = "README.registry.md" license = "ISC" categories = ["command-line-utilities", "no-std"] keywords = ["hexdump"] [badges.bitbucket-pipelines] repository = "delan/xd" branch = "default" [profile.release] panic = "abort" lto = true [dependencies] owo-colors = "1.1.3" pledge = { version = "0.4.0", optional = true } unveil = { version = "0.2.1", optional = true } jane-eyre = { version = "0.3.0", optional = true } lazy_static = { version = "1.4.0", optional = true } atty = { version = "0.2.14", optional = true } clap = { version = "2.33.3", optional = true } [target.'cfg(unix)'.dependencies.nix] version = "0.19.1" optional = true [target.'cfg(windows)'.dependencies.winapi-util] version = "0.1.5" optional = true [dev-dependencies] jane-eyre = "0.3.0" regex = "1.4.2" mktemp = "0.4.0" [features] default = ["std", "bin"] # cargo install bin = ["pledge", "unveil", "jane-eyre", "lazy_static", "atty", "clap", "nix", "winapi-util"] std = ["alloc"] alloc = [] strict = [] bench = ["alloc"] [[bin]] name = "xd" required-features = ["bin", "std"]