Merge pull request #562 from SeaQL/exclude-mock-from-default

Exclude `mock` from default features
This commit is contained in:
Chris Tsang 2022-03-06 22:57:28 +08:00 committed by GitHub
commit 27143a8ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ categories = ["database"]
keywords = ["async", "orm", "mysql", "postgres", "sqlite"] keywords = ["async", "orm", "mysql", "postgres", "sqlite"]
[package.metadata.docs.rs] [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"] rustdoc-args = ["--cfg", "docsrs"]
[lib] [lib]
@ -49,14 +49,13 @@ actix-rt = { version = "2.2.0" }
maplit = { version = "^1" } maplit = { version = "^1" }
rust_decimal_macros = { version = "^1" } rust_decimal_macros = { version = "^1" }
tracing-subscriber = { version = "0.3", features = ["env-filter"] } 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" } pretty_assertions = { version = "^0.7" }
[features] [features]
debug-print = [] debug-print = []
default = [ default = [
"macros", "macros",
"mock",
"with-json", "with-json",
"with-chrono", "with-chrono",
"with-rust_decimal", "with-rust_decimal",