Open
Description
Describe the bug
Cannot compile project using command in README: cargo build --release --features csml_engine/mongo
error:
error[E0061]: this function takes 5 arguments but 3 arguments were supplied
--> bindings/ios/src/lib.rs:842:11
|
842 | match csml_engine::get_client_messages(&client, params.limit, params.pagination_key) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------------------- two arguments of type `std::option::Option<i64>` and `std::option::Option<i64>` are missing
|
note: function defined here
--> /tmp/csml-engine/csml_engine/src/lib.rs:209:8
|
209 | pub fn get_client_messages(
| ^^^^^^^^^^^^^^^^^^^
help: provide the arguments
|
842 | match csml_engine::get_client_messages(&client, params.limit, params.pagination_key, /* std::option::Option<i64> */, /* std::option::Option<i64> */) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For more information about this error, try `rustc --explain E0061`.
error: could not compile `csmllib` due to previous error
warning: build failed, waiting for other jobs to finish...
warning: `csml_android` (lib) generated 5 warnings
To Reproduce
git clone https://github.com/CSML-by-Clevy/csml-engine
cd csml-engine
cargo build
Expected behavior
Additional context