mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Remove ptree dep from nu-command, remove associated feature. (#3741)
Nothing used the `ptree` feature or optional dependency within `nu-command` except to include it within the `version` output. This may be related to when `nu-cli` also had a `ptree` feature, but I'm not sure. That leaves the code within `nu_plugin_tree` as the sole remaining user of `ptree`, which is already covered by the feature `tree` and included in the `version` output.
This commit is contained in:
@ -66,7 +66,6 @@ num-format = { version="0.4.0", features=["with-num-bigint"] }
|
||||
num-traits = "0.2.14"
|
||||
parking_lot = "0.11.1"
|
||||
pin-utils = "0.1.0"
|
||||
ptree = { version="0.3.1", optional=true }
|
||||
query_interface = "0.3.5"
|
||||
quick-xml = "0.22"
|
||||
rand = "0.8"
|
||||
|
@ -191,11 +191,6 @@ fn features_enabled() -> Vec<String> {
|
||||
names.push("ctrlc".to_string());
|
||||
}
|
||||
|
||||
#[cfg(feature = "ptree")]
|
||||
{
|
||||
names.push("ptree".to_string());
|
||||
}
|
||||
|
||||
// #[cfg(feature = "rich-benchmark")]
|
||||
// {
|
||||
// names.push("rich-benchmark".to_string());
|
||||
|
Reference in New Issue
Block a user