I've raised an issue with rust-nostr which should hopefully resolve this.
I have a CLI (ngit) that is usually used to read but sometimes used to write events.
I'm trying add support for relays that require AUTH to read.
If nip46 a bunker url is known and have previously been used to successfully sign event, I would like to opportunistically use it to respond to AUTH events.
I don't want to await the return of Nip46Signer:new() before sending read requests and I'd like a shorter timeout (or the connection attempts to be stopped when the client falls out of scope)
so that my CLI can close when other operations are complete.
Later, if the CLI needs to sign user generated events, it will attempt to connect to the remote signer again (if not already connected) and this time would need a longer timeout for connecting to the remote helper as provided through Nip46Signer:new() .
i figured that users can choice whether to approve auth requests through their nip46 signer.