diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2020-06-04 01:04:08 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2020-06-04 01:04:08 -0400 |
| commit | eddc15883aabe2ccd5652f804bb0d3fb01dbc334 (patch) | |
| tree | f90050a98312a3c5e641debf65b7b8b17ba740c8 /src | |
| parent | e0aeb8aa134bd7fe93526a32b004e77b267a3ba2 (diff) | |
Renamed primary binary to `web`.
This closely matches Procfile entries, making the structure of the project a little easier to follow.
Diffstat (limited to 'src')
| -rw-r--r-- | src/bin/web.rs (renamed from src/main.rs) | 6 | ||||
| -rw-r--r-- | src/lib.rs | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/main.rs b/src/bin/web.rs index 8faebd4..3186207 100644 --- a/src/main.rs +++ b/src/bin/web.rs @@ -1,11 +1,9 @@ -#![feature(proc_macro_hygiene)] - use actix_web::{App, HttpServer}; use std::io; use thiserror::Error; -mod twelve; -mod view; +use things_to_check::twelve; +use things_to_check::view; #[derive(Error, Debug)] pub enum Error { diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..eb1da51 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,4 @@ +#![feature(proc_macro_hygiene)] + +pub mod twelve; +pub mod view; |
