10gen-interns/mongo-rust-driver-prototype — pull request #23 by jedestep (2013-07-29 15:20:31+00:00)
Title: Added a MongosClient which publishes common sharding-related functionality

It publishes methods to enable sharding, add/remove shards and shard tags, and display shard status.

A test for it can be run by calling ```make check MONGOTEST=1 TOOLFLAGS="--cfg shard"```. This requires an existing cluster with at least one of the shards running on port 27017 and a mongos instance running on port 57017.