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:
WMR
2023-05-22 08:42:38 -07:00
committed by GitHub
parent 234ba197d7
commit 8e538c650e
3 changed files with 22 additions and 7 deletions

View File

@ -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 = []

View File

@ -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