nushell/crates/nu-plugin/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

25 lines
630 B
TOML

[package]
authors = ["The Nushell Project Developers"]
description = "Functionality for building Nushell plugins"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-plugin"
edition = "2021"
license = "MIT"
name = "nu-plugin"
version = "0.70.1"
[dependencies]
bincode = "1.3.3"
nu-protocol = { path = "../nu-protocol", version = "0.70.1" }
nu-engine = { path = "../nu-engine", version = "0.70.1" }
serde = {version = "1.0.143", features = ["derive"]}
serde_json = { version = "1.0"}
rmp = "0.8.11"
rmp-serde = "1.1.0"
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "encoder_benchmark"
harness = false