While building rag-api-server it gives warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, traitobject v0.1.0.
As per cargo.lock generated , the error is caused because of the dependency multipart-2021 = "0.19.0" which uses buf_redux which is basically not maintained now. And similar with traitobject which is used by hyper.
While building rag-api-server it gives
warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, traitobject v0.1.0
. As per cargo.lock generated , the error is caused because of the dependencymultipart-2021 = "0.19.0"
which usesbuf_redux
which is basically not maintained now. And similar withtraitobject
which is used by hyper.