- This is a work in progress
- Install Rust
- Rustup to nightly build required
- curl -s https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
- rustup update
- rustup install nightly
- rustup run nightly rustc --version
- rustup default nightly
export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib
export DEP_OPENSSL_INCLUDE=`brew --prefix openssl`/include
- MONGO_ADDRESS
- cargo run
- cargo build
- cargo build --release
- ./target/release/rust-rocket-mongo-example