Skip to main content

Module common

Module common 

Source

Modules§

fs
File System Utils
macros
string
time
tokenizer

Structs§

InstalledItem
RemoteDep
Git remote dependence
RustDependence
Rust Dependence
Source
Ulid
Ulid

Enums§

DepType
The type of dependence
IFSignal
Os
Os Type

Traits§

ToToml

Functions§

camel_to_snake
convert camel to snake case
cargo_install_list
List all the installed packages by cargo
exec_cmd
float_to_str
format_float
git_download_from_github
git_download_plugin_from_github
group
group_bracket
group_paren
ident
create a new ident
punct_alone
create a new punct(use end of the stmt)
punct_joint
create a new punct(use between the stmt)
read_to_doc
shadow_cmd
shadow_cmd_with
snake_to_camel
stream_cmd
stream_terminal
Stream terminal output from child process
surround
consume original String to surround String
token_stream_to_tree
token_streams_to_trees
token_tree_group
{}
token_tree_group_bracket
[]
token_tree_group_paren
()
token_tree_ident
create a new token tree ident debug result:
token_tree_ident_mixed
token_tree_punct_alone
token_tree_punct_joint
tree_to_token_stream
trees_to_token_stream
ulid
生成组件的ulid, 用于生成组件的唯一标识, 经过测试无法使用ulid::Ulid直接生成 限制:
uppercase_title
uppercase the first title case of the string