From 62cfc1bd0795ba6ddfacb254b80fcdd3c1e1ff0e Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Mon, 22 Jul 2024 22:48:48 +0300
Subject: [PATCH] chore: Use `oxidetalis_core` in `oxidetalis_entities`
Signed-off-by: Awiteb
---
Cargo.lock | 2 ++
crates/oxidetalis_entities/Cargo.toml | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 5e4d355..8e6aea0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1954,6 +1954,7 @@ dependencies = [
"k256",
"rand",
"salvo-oapi",
+ "sea-orm",
"serde",
"sha2",
"thiserror",
@@ -1964,6 +1965,7 @@ name = "oxidetalis_entities"
version = "0.1.0"
dependencies = [
"chrono",
+ "oxidetalis_core",
"sea-orm",
]
diff --git a/crates/oxidetalis_entities/Cargo.toml b/crates/oxidetalis_entities/Cargo.toml
index 4a444f6..86ee7ce 100644
--- a/crates/oxidetalis_entities/Cargo.toml
+++ b/crates/oxidetalis_entities/Cargo.toml
@@ -11,8 +11,9 @@ rust-version.workspace = true
[dependencies]
-sea-orm = { workspace = true }
-chrono = { workspace = true }
+oxidetalis_core = { workspace = true, features = ["sea-orm"] }
+sea-orm = { workspace = true }
+chrono = { workspace = true }
[lints.rust]
unsafe_code = "deny"