rust-ipfs-api
                                
                                
                                
                                    rust-ipfs-api copied to clipboard
                            
                            
                            
                        feat: add `id_with_options` method
Kubo permits the use of peerid-base as a parameter when making a call to /api/v0/id. This crate should too.
In my tests, Kubo doesn't seem to respect the format parameter. It always returns JSON.
In this patch, I'm retaining it for compatibility with the spec, but disabling the ability to construct it.