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:
Bruce Mitchener
2021-07-06 22:33:24 +07:00
committed by GitHub
parent d1df9b9e38
commit 651d425046
5 changed files with 2 additions and 11 deletions

View File

@ -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());