nushell/crates/nu-pretty-hex/Cargo.toml
Stefan Holderbach ce4ae00a6f
Remove unused dependencies (#6945)
* Remove unused dependencies

Inspired by #6938 ran `cargo +nightly udeps --features extra`.
Removes 2 crates and should remove an unnecessary intra-workspace
dependency which might open up further opportunities for compilation.

* Make windows-only dependency conditional in toml

`omnipath` is only used on Windows and already behind a `#[cfg]` block
in the code. Made the dependency in `Cargo.toml` conditional as well.

* Make `nu-pretty-hex` example a proper example

This allows making `rand` a dev-dependency in this crate.
2022-10-29 21:19:12 +02:00

22 lines
517 B
TOML

[package]
authors = ["Andrei Volnin <wolandr@gmail.com>", "The Nushell Project Developers"]
description = "Pretty hex dump of bytes slice in the common style."
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-pretty-hex"
edition = "2021"
license = "MIT"
name = "nu-pretty-hex"
version = "0.70.1"
[lib]
doctest = false
name = "nu_pretty_hex"
path = "src/lib.rs"
[dependencies]
nu-ansi-term = "0.46.0"
[dev-dependencies]
heapless = { version = "0.7.8", default-features = false }
rand = "0.8.3"