client-rust
client-rust copied to clipboard
Require raw client support `putIfAbsent` feature
Require raw client support putIfAbsent feature, just like client-java.
Try compare_and_swap? You can set previous_value to be None.
Can we wrap a put_if_absent function? And the document need update, I cannot find compare_and_swap function at document.
Can we wrap a put_if_absent function? If it's remarkably easier for users to find what they want, I think it's worth it. In my personal opinion, there's no much difference.
The doc in docs.rs is v0.1, the CAS is implemented after v0.1. If you build the doc from master you would find it. We haven't had enough staff to push forward client-rust for some time 😥.