From 7652a3016e3b243604f38d40eab6097c2d816fde Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 9 Mar 2024 08:44:28 +0100 Subject: [PATCH] clarify docs of `shellexecute-on-windows` feature (#94) --- Cargo.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 80adff3..ed4194e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,14 +13,13 @@ include = ["src/**/*", "LICENSE.md", "README.md", "changelog.md"] rust-version = "1.62" [features] -## If enabled, link to `shell32` on Windows and use `ShellExecuteW` intead of a command invocation +## If enabled, link to `system` on Windows and use `ShellExecuteW` intead of a command invocation ## when launching something in 'detached' mode. ## That way, it should be possible to open currently opened (for writing) files as well. -## -## However, linking errors have been observed due to it where the one external function used here -## couldn't be found, which is why it was put behind a feature toggle. -## ## This feature is only effective on Windows. +## +## There may be other side-effects that when comparing to the command-based +## opening of paths, which is why this feature is opt-in. shellexecute-on-windows = [] [[bin]]