compress-tools 0.6.0 released https://crates.io/crates/compress-tools
libarchive的开发的,并提供部分原库的压缩功能。这个工具现在可以解压:Announcing tiny 0.6.0 - console IRC client in Rust https://github.com/osa1/tiny
$ cargo install --path tiny
If you don't want to clone the repo, you can use
$ cargo install --git https://github.com/osa1/tiny
An encrypted messenger backed by the Tezos blockchain, written entirely in Rust。 https://github.com/mt-caret/mizu/
Statistics on dynamic linking https://drewdevault.com/dynlib.html
libs.awk--------------------------/\t.*\.so.*/ {n=split($1, p, "/")split(p[n], l, ".")lib=l[1]if (libs[lib] == "") {libs[lib] = 0}libs[lib] += 1}END {for (lib in libs) {print libs[lib] "\t" lib}}
Usage 用法:
-------------------------$ find /usr/bin -type f -executable -print \| xargs ldd 2>/dev/null \| awk -f libs.awk \| sort -rn > results.txt$ awk '{ print NR "\t" $1 }' < results.txt > nresults.txt$ gnuplotgnuplot> plot 'nresults.txt'
my results,我的测试结果:
--------------------------find /usr/bin -type f -executable -print | wc -l5688head -n20 < results.txt4496 libc4484 linux-vdso4483 ld-linux-x86-642654 libm2301 libdl2216 libpthread1419 libgcc_s1301 libz1144 libstdc++805 liblzma785 librt771 libXdmcp771 libxcb771 libXau755 libX11703 libpcre667 libglib-2658 libffi578 libresolv559 libXext
Linkage Avg. startup timeDynamic 137263 nsStatic 64048 ns
Rust + Actix + CosmosDB (MongoDB) tutorial API. https://dev.to/jbarszczewski/rust-actix-cosmosdb-mongodb-tutorial-api-17i5
原文作者:Rust语言中文社区;如有侵权,请联系管理员删除。