Renaming package
This commit is contained in:
parent
50e82e9515
commit
f6383ad2cf
4 changed files with 4 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -3,7 +3,7 @@
|
||||||
version = 3
|
version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "achubb_backend"
|
name = "achubb_website"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"askama",
|
"askama",
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ pub async fn run_server(pool: PgPool) -> std::io::Result<()> {
|
||||||
tracing_subscriber::registry()
|
tracing_subscriber::registry()
|
||||||
.with(
|
.with(
|
||||||
tracing_subscriber::EnvFilter::try_from_default_env()
|
tracing_subscriber::EnvFilter::try_from_default_env()
|
||||||
.unwrap_or_else(|_| "achubb_backend".into()),
|
.unwrap_or_else(|_| "achubb_website".into()),
|
||||||
)
|
)
|
||||||
.with(tracing_subscriber::fmt::layer())
|
.with(tracing_subscriber::fmt::layer())
|
||||||
.init();
|
.init();
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
use achubb_backend::{run_load, run_server, database::establish_connection};
|
use achubb_website::{run_load, run_server, database::establish_connection};
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
use sqlx::postgres::PgPool;
|
use sqlx::postgres::PgPool;
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
#! /usr/bin/bash
|
#! /usr/bin/bash
|
||||||
target/release/achubb_backend
|
target/release/achubb_website
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue