From cb4f112b93dde544bd9012bb74c278e8034c4471 Mon Sep 17 00:00:00 2001 From: Harry Nguyen Date: Sun, 10 Mar 2024 15:13:30 +0700 Subject: [PATCH] fix: docker --- .dockerignore | 3 --- src/public/Cargo.toml | 14 -------------- src/public/src/main.rs | 1 - 3 files changed, 18 deletions(-) diff --git a/.dockerignore b/.dockerignore index b90fce6..0e8bf77 100644 --- a/.dockerignore +++ b/.dockerignore @@ -15,7 +15,4 @@ Cargo.toml.orig *.rmeta *.d -# Ignore system and hidden files -**/.* - Dockerfile \ No newline at end of file diff --git a/src/public/Cargo.toml b/src/public/Cargo.toml index 47015bd..af07165 100644 --- a/src/public/Cargo.toml +++ b/src/public/Cargo.toml @@ -96,17 +96,3 @@ features = ["postgres"] [dependencies.tokio] version = "1.36.0" features = ["full"] - -[lib] -path = "src/lib.rs" -name = "cli" -test = true -doctest = true -bench = true -doc = true -plugin = false -proc-macro = false -harness = true -edition = "2021" -required-features = [] -crate-type = ["rlib"] diff --git a/src/public/src/main.rs b/src/public/src/main.rs index ab26b2e..212d7b3 100644 --- a/src/public/src/main.rs +++ b/src/public/src/main.rs @@ -1,4 +1,3 @@ -#[rustfmt::skip] #[cfg_attr(debug_assertions, allow(dead_code, unused_imports))] use openssl; #[rustfmt::skip]