Function run_server

Source
pub fn run_server(project_dir: &'static str)
Expand description

§Panics

  • if the project directory doesn’t exist
  • if the project directory doesn’t contain a Cargo.toml file
  • if the Cargo.toml file doesn’t list create-rust-app as a dependency
  • cannot start a tokio runtime