Initialize core code

main
~erin 2023-07-25 20:53:18 -04:00
parent 0c9f66277e
commit b5aa0c2171
Signed by: erin
GPG Key ID: 0FEDEAFF1C14847E
3 changed files with 26 additions and 2 deletions

9
Cargo.lock generated
View File

@ -337,6 +337,15 @@ checksum = "795bc6e66a8e340f075fcf6227e417a2dc976b92b91f3cdc778bb858778b6747"
[[package]]
name = "core"
version = "0.1.0"
dependencies = [
"chrono",
"config",
"dirs",
"env_logger",
"log",
"sqlx",
"tokio",
]
[[package]]
name = "core-foundation-sys"

View File

@ -5,3 +5,12 @@ edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
[dependencies]
log.workspace = true
env_logger.workspace = true
tokio.workspace = true
sqlx.workspace = true
chrono.workspace = true
config.workspace = true
dirs.workspace = true

View File

@ -1,3 +1,9 @@
fn main() {
println!("Hello, world!");
#[macro_use]
extern crate log;
#[tokio::main]
async fn main() {
env_logger::init();
info!("Hello, world!");
}