ferristseng / rust-ipfs-api

IPFS HTTP client in Rust
Apache License 2.0
247 stars 68 forks source link

Why does this crate not use the `cid` crate? #74

Open matthiasbeyer opened 3 years ago

matthiasbeyer commented 3 years ago

Hi, maybe I am misunderstanding something, so I am not sure whether there's an obvious reason why not, ... so why doesn't this crate use the cid crate for the content ids and instead uses String in its API?

ferristseng commented 3 years ago

Definitely seems like something we could add

matthiasbeyer commented 2 years ago

Well, how to transform a AddResponse (for example) into a Cid then?