ydb-rs-sdk
ydb-rs-sdk copied to clipboard
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en ## Pull request type Please check the type of change your PR introduces: - [ ] Bugfix -...
'chrono' dependency is set to exact version, which is usually not the best choice for library. It there real reason for that? If yes, please leave comment in Cargo.toml, if...
main issue: https://github.com/ydb-platform/ydb/issues/3885
We need more detailed initial readme file with more examples and covering implemented features
Add github project description, tags and url to https://ydb.tech as was made for other sdks.
1. Format Cargo.toml style by `taplo fmt --option indent_string=" " Cargo.toml ./ydb/Cargo.toml ./ydb-grpc/Cargo.toml ./ydb-example-urlshortener/Cargo.toml` 2. ydb-grpc protobuf gen 3. Cargo.lock
Test `coordination_test::describe_semaphore_test` tends to fail in an unpredictable manner. What causes test to crush is this [assertion](https://github.com/uslon/ydb-rs-sdk/blob/master/ydb/src/coordination_test.rs#L317). It seems that one of the concurrent sessions is too late to take...
See other https://github.com/vectordotdev/vector/tree/master/src/sinks
[StatusCode](https://github.com/ydb-platform/ydb-rs-sdk/blob/d23b7de76f9dc5d657c406e65df91f51fef7bbfb/ydb/src/errors.rs#L154) ```rust pub fn operation_status(&self) -> YdbResult { StatusCode::from_i32(self.operation_status).ok_or_else(|| { YdbError::InternalError(format!("unknown status code: {}", self.operation_status)) }) } ```