Cleanup feature flags
This commit is contained in:
parent
b043f84aec
commit
5859d261f1
@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## 0.12.10 - 2023-12-14
|
||||||
|
|
||||||
|
* [sea-orm-macro] Comment attribute for Entity (`#[sea_orm(comment = "action")]`); `create_table_from_entity` supports comment https://github.com/SeaQL/sea-orm/pull/2009
|
||||||
|
* Added "proxy" (feature flag `proxy`) to database backend https://github.com/SeaQL/sea-orm/pull/1881, https://github.com/SeaQL/sea-orm/pull/2000
|
||||||
|
|
||||||
## 0.12.9 - 2023-12-08
|
## 0.12.9 - 2023-12-08
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
@ -76,7 +76,7 @@ default = [
|
|||||||
]
|
]
|
||||||
macros = ["sea-orm-macros/derive"]
|
macros = ["sea-orm-macros/derive"]
|
||||||
mock = []
|
mock = []
|
||||||
proxy = ["serde_json"]
|
proxy = ["serde_json", "serde/derive"]
|
||||||
with-json = ["serde_json", "sea-query/with-json", "chrono?/serde", "time?/serde", "uuid?/serde", "sea-query-binder?/with-json", "sqlx?/json"]
|
with-json = ["serde_json", "sea-query/with-json", "chrono?/serde", "time?/serde", "uuid?/serde", "sea-query-binder?/with-json", "sqlx?/json"]
|
||||||
with-chrono = ["chrono", "sea-query/with-chrono", "sea-query-binder?/with-chrono", "sqlx?/chrono"]
|
with-chrono = ["chrono", "sea-query/with-chrono", "sea-query-binder?/with-chrono", "sqlx?/chrono"]
|
||||||
with-rust_decimal = ["rust_decimal", "sea-query/with-rust_decimal", "sea-query-binder?/with-rust_decimal", "sqlx?/rust_decimal"]
|
with-rust_decimal = ["rust_decimal", "sea-query/with-rust_decimal", "sea-query-binder?/with-rust_decimal", "sqlx?/rust_decimal"]
|
||||||
|
@ -31,7 +31,7 @@ pub struct MockExecResult {
|
|||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub struct MockRow {
|
pub struct MockRow {
|
||||||
/// The values of the single row
|
/// The values of the single row
|
||||||
pub values: BTreeMap<String, Value>,
|
pub(crate) values: BTreeMap<String, Value>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A trait to get a [MockRow] from a type useful for testing in the [MockDatabase]
|
/// A trait to get a [MockRow] from a type useful for testing in the [MockDatabase]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user