rust-rocket-mongo-example

About

  • This is a work in progress

Pre-requisites

Environment Variables

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

Run

  • cargo run

Build

  • cargo build

Release

  • cargo build --release

Executable

  • ./target/release/rust-rocket-mongo-example