move source code to public

This commit is contained in:
Maxim Lobanov
2020-09-10 14:34:08 +03:00
parent ffc156448e
commit 511c6e636b
100 changed files with 6901 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/sh
set -e
echo Installing Rustup...
brew install rustup-init
echo Installing Rust language...
rustup-init -y --no-modify-path --default-toolchain=stable --profile=minimal
echo Initialize environment variables...
CARGO_HOME=$HOME/.cargo
source $CARGO_HOME/env
echo Install common tools...
cargo install bindgen cbindgen cargo-audit cargo-outdated
echo Cleanup Cargo registry cached data...
rm -rf $CARGO_HOME/registry/*