aisk / rust-memcache

memcache client for rust
MIT License
132 stars 41 forks source link

:sparkles: add crate level connect function #103

Closed aisk closed 4 years ago

aisk commented 4 years ago

Close #93 .

codecov-io commented 4 years ago

Codecov Report

Merging #103 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #103   +/-   ##
=======================================
  Coverage   50.58%   50.58%           
=======================================
  Files          10       10           
  Lines         682      682           
=======================================
  Hits          345      345           
  Misses        337      337

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c5a0033...a9b7c63. Read the comment docs.

letmutx commented 4 years ago

What's the motivation for this?

aisk commented 4 years ago

Just a shortcut, and for this crate I think connect is the only API to expose for purpose use, and other APIs is in the connect's return value, so make it shorter.