# Section I - manifest

> [Cargo.toml](https://github.com/dsietz/rust-daas/blob/master/Cargo.toml)

In Module II, we build out a RESTful service that responded with "Hello World!" whenever a GET call was made to the service. The coding of this service was comprised of 3 basic parts.

1. Declarations of dependent, (e.g.: Crates.toml, `extern crate` and `use`)
2. Constructing the module, (e.g.: src/hello\_world.rs)
3. Constructing the executable service, (e.g.: src/bin/hello-world.rs)

We will follow the same pattern for building out this RESTful service for sourcing data to our reporting system.

Let beginning with declaring our dependencies. Because we will be implementing Basic Authentication, we will need to include the `actix-web-httpauth` crate that extends the `actix-web` package. This should be declared in the `[dependencies]` section of the **Cargo.toml** file

```
actix-web-httpauth = "0.1.0"
```

> Now is a good time to rerun the `cargo test` command to ensure all your tests still pass.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://davidsietz.gitbook.io/workspace/module-04/04-section-01.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
