rust-ipfs
rust-ipfs copied to clipboard
add a DHT mode param
Currently defaults to Client and can't be used as a start-up param or influence the DHT logic. Also removes SwarmOptions and IpfsInner.keys due to retaining all the IpfsOptions inside IpfsInner.