liboxia 0.0.1

Liboxia is a Rust library designed for both native Rust applications and for integration with other languages via its C Foreign Function Interface (FFI). It serves as a client SDK for Oxia, a distributed key-value store, enabling robust, asynchronous data operations.
Documentation
1
2
3
4
5
6
pub(crate) fn ensure_protocol(raw_address: String) -> String {
    if raw_address.starts_with("http://") || raw_address.starts_with("https://") {
        return raw_address;
    }
    format!("http://{}", raw_address)
}