mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 09:35:44 +02:00
Fix version to show build features after crateification (#9262)
# Description Addresses missing features per #9261 # User-Facing Changes Fixes output of version. Adds wasi feature output # Tests + Formatting No tests written Co-authored-by: Robert Waugh <robert@waugh.io>
This commit is contained in:
@ -25,3 +25,13 @@ shadow-rs = { version = "0.21.0", default-features = false }
|
||||
|
||||
[build-dependencies]
|
||||
shadow-rs = { version = "0.21.0", default-features = false }
|
||||
|
||||
[features]
|
||||
which-support = []
|
||||
trash-support = []
|
||||
sqlite = []
|
||||
dataframe = []
|
||||
static-link-openssl = []
|
||||
extra = []
|
||||
wasi = []
|
||||
|
||||
|
@ -182,6 +182,11 @@ fn features_enabled() -> Vec<String> {
|
||||
names.push("extra".to_string());
|
||||
}
|
||||
|
||||
#[cfg(feature = "wasi")]
|
||||
{
|
||||
names.push("wasi".to_string());
|
||||
}
|
||||
|
||||
names.sort();
|
||||
|
||||
names
|
||||
|
Reference in New Issue
Block a user