From cdd188e561eedccde5590193ead6170d023df4f3 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Tue, 1 Mar 2022 15:12:23 +0800 Subject: [PATCH] Exclude `mock` from default features --- Cargo.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5558fa92..90313632 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ categories = ["database"] keywords = ["async", "orm", "mysql", "postgres", "sqlite"] [package.metadata.docs.rs] -features = ["default", "sqlx-all", "runtime-async-std-native-tls"] +features = ["default", "sqlx-all", "mock", "runtime-async-std-native-tls"] rustdoc-args = ["--cfg", "docsrs"] [lib] @@ -49,14 +49,13 @@ actix-rt = { version = "2.2.0" } maplit = { version = "^1" } rust_decimal_macros = { version = "^1" } tracing-subscriber = { version = "0.3", features = ["env-filter"] } -sea-orm = { path = ".", features = ["debug-print"] } +sea-orm = { path = ".", features = ["mock", "debug-print"] } pretty_assertions = { version = "^0.7" } [features] debug-print = [] default = [ "macros", - "mock", "with-json", "with-chrono", "with-rust_decimal",