@@ -7,7 +7,16 @@ This library is the official client for the free and open-source NoSQL database
77following the instructions [ here] ( https://docs.skytable.io/getting-started ) . This library supports
88all Skytable versions that work with the [ Skyhash 1.1 Protocol] ( https://docs.skytable.io/protocol/skyhash ) .
99This version of the library was tested with the latest Skytable release
10- (release [ 0.7.2-alpha.1] ( https://github.com/skytable/skytable/releases/v0.7.2-alpha.1 ) ).
10+ (release [ 0.7.2] ( https://github.com/skytable/skytable/releases/v0.7.2 ) ).
11+
12+ ## Features
13+
14+ - Sync API
15+ - Async API
16+ - TLS in both sync/async APIs
17+ - Connection pooling for sync/async
18+ - Use both sync/async APIs at the same time
19+ - Always up-to-date
1120
1221## Using this library
1322
@@ -26,7 +35,7 @@ cargo new skyapp
2635First add this to your ` Cargo.toml ` file:
2736
2837``` toml
29- skytable = " 0.6.2 "
38+ skytable = " 0.6.3 "
3039```
3140
3241Now open up your ` src/main.rs ` file and establish a connection to the server while also adding some
@@ -88,7 +97,7 @@ Way to go — you're all set! Now go ahead and run more advanced queries!
8897
8998The ` default:default ` keyspace has the following declaration:
9099
91- ```
100+ ``` text
92101Keymap { data:(binstr,binstr), volatile:false }
93102```
94103
@@ -108,17 +117,22 @@ assert!(con.set("bindata", mybinarydata).unwrap());
108117
109118## Going advanced
110119
111- Now that you know how you can run basic queries, check out the ` actions ` module documentation for learning
112- to use actions and the ` types ` module documentation for implementing your own Skyhash serializable
113- types. Need to meddle with DDL queries like creating and dropping tables? Check out the ` ddl ` module.
114- You can also find the [ latest examples here] ( https://github.com/skytable/client-rust/tree/next/examples )
120+ Now that you know how you can run basic queries, check out the [ ` actions ` ] module documentation for learning
121+ to use actions and the [ ` types ` ] module documentation for implementing your own Skyhash serializable
122+ types. Need to meddle with DDL queries like creating and dropping tables? Check out the [ ` ddl ` ] module.
123+ You can also find some [ examples here] ( https://github.com/skytable/client-rust/tree/v0.7.0-alpha.1/examples )
124+
125+ ## Connection pooling
126+
127+ This library supports using sync/async connection pools. See the [ ` pool ` ] module-level documentation for examples
128+ and information.
115129
116130## Async API
117131
118132If you need to use an ` async ` API, just change your import to:
119133
120134``` toml
121- skytable = { version = " 0.6.2 " , features =[" async " ], default-features = false }
135+ skytable = { version = " 0.6.3 " , features =[" aio " ], default-features = false }
122136```
123137
124138You can now establish a connection by using ` skytable::AsyncConnection::new() ` , adding ` .await ` s wherever
@@ -130,7 +144,7 @@ With this client driver, it is possible to use both sync and `async` APIs **at t
130144this, simply change your import to:
131145
132146``` toml
133- skytable = { version =" 0.6.2 " , features =[" sync" , " async " ] }
147+ skytable = { version =" 0.6.3 " , features =[" sync" , " aio " ] }
134148```
135149
136150## TLS
@@ -140,15 +154,15 @@ If you need to use TLS features, this crate will let you do so with OpenSSL.
140154### Using TLS with sync interfaces
141155
142156``` toml
143- skytable = { version =" 0.6.2 " , features =[" sync" ," ssl" ] }
157+ skytable = { version =" 0.6.3 " , features =[" sync" ," ssl" ] }
144158```
145159
146160You can now use the async ` sync::TlsConnection ` object.
147161
148162### Using TLS with async interfaces
149163
150164``` toml
151- skytable = { version =" 0.6.2 " , features =[" async " ," aio-ssl" ], default-features =false }
165+ skytable = { version =" 0.6.3 " , features =[" aio " ," aio-ssl" ], default-features =false }
152166```
153167
154168You can now use the async ` aio::TlsConnection ` object.
0 commit comments