ceph / ceph-rust

Rust-lang interface to Ceph.
Apache License 2.0
98 stars 43 forks source link

Remove old dependency #47

Closed gsquire closed 5 years ago

gsquire commented 5 years ago

This patch removes the deprecated rustc-serialize crate in favor of serde. Since serde was already imported, the transition was pretty straightforward. The only thing I was unsure of was replacing the find_path function with consecutive get calls. I think I maintained the behavior but will continue testing it locally.

cholcombe973 commented 5 years ago

Thanks! I've wanted to do this for awhile but haven't gotten around to it. The find_path fn looks pretty close to me. If you find any issues locally feel free to PR again.