influxdb-rust icon indicating copy to clipboard operation
influxdb-rust copied to clipboard

Remove `surf` support

Open msrd0 opened this issue 11 months ago • 2 comments

surf support is outdated and surf is no longer maintained. It should be removed from this crate.

ORIGINAL ISSUE TEXT: The surf crate has not only seen no releases in the last two years, but also the git repository has seen no commit in the last two years. It depends on outdated version like tokio 0.2 and there does not seem to be any effort to make a new releases with more up to date dependencies. However, it is the only way this crate works with async-std.

I personally am fine with tokio-only libraries and would vote to remove surf in an upcoming release. Are there any users of the surf backend of this library? Would you be able to upgrade to the reqwest backend? What are your reasons for still using surf despite the default client being reqwest for a while now?

msrd0 avatar Mar 07 '24 13:03 msrd0

The maintainer of surf said it should be considered unmaintained: https://github.com/http-rs/surf/issues/352#issuecomment-1709404352

msrd0 avatar Mar 07 '24 13:03 msrd0

This has been open for close to a month without anyone indicating that surf is required. Renaming this ticket.

Empty2k12 avatar Apr 04 '24 14:04 Empty2k12