Crates.io | query-shell |
lib.rs | query-shell |
version | 0.3.0 |
source | src |
created_at | 2022-04-19 20:46:21.06872 |
updated_at | 2023-02-10 19:17:24.332862 |
description | A simple library to get the user's shell. |
homepage | |
repository | https://github.com/Icelk/query-shell |
max_upload_size | |
id | 570634 |
size | 7,088 |
query-shell
A simple library to get the user's shell.
Forked from alicecarroll/get-shell.
cargo add query-shell
Or manually add query-shell = "0.3"
to the [dependencies]
section in your Cargo.toml
.
use query_shell::get_shell_name;
println!("{}", get_shell_name().unwrap());
sysinfo
to the latest release.sysinfo
to the latest release.
sysinfo
(e.g. rayon
).sysinfo
crate (runtime went from >2s to <200ms).