error[E0277]: the `serde` integration needs `queryweave-api`'s `serde` feature
--> $DIR/serde.rs:5:34
|
5 | const _: () = requires_feature::<queryweave_api::SortDirectionDto>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `queryweave-api` is built without its `serde` feature
|
= help: the trait `Serde` is not implemented for `SortDirectionDto`
= note: enable it: `queryweave-api = { version = "..", features = ["serde"] }`
note: required by a bound in `requires_feature`
--> $DIR/serde.rs:3:30
|
3 | const fn requires_feature<T: queryweave_api::features::Serde>() {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `requires_feature`