meilisearch/meilisearch-rust

Library seems unusable on MacOS 14.0

Jasperav opened this issue · 1 comments

There is an annoying bug with MacOS 14.0 which causes binaries to fail: rust-lang/cargo#12670

This is a PR which fixes the bug: alexcrichton/curl-rust#530. Now it seems easy: update to the latest CURL and it should work. In my project, I got this output running cargo tree:

│   ├── meilisearch-sdk v0.24.2
│   │   ├── async-trait v0.1.73 (proc-macro) (*)
│   │   ├── either v1.9.0 (*)
│   │   ├── futures v0.3.28 (*)
│   │   ├── futures-io v0.3.28
│   │   ├── isahc v1.7.2
│   │   │   ├── async-channel v1.9.0
│   │   │   │   ├── concurrent-queue v2.2.0
│   │   │   │   │   └── crossbeam-utils v0.8.16 (*)
│   │   │   │   ├── event-listener v2.5.3
│   │   │   │   └── futures-core v0.3.28
│   │   │   ├── castaway v0.1.2
│   │   │   ├── crossbeam-utils v0.8.16 (*)
│   │   │   ├── curl v0.4.44
│   │   │   │   ├── curl-sys v0.4.65+curl-8.2.1

So isahc has a dependency on an old version of curl. It looks like a project which isn't maintained anymore. So unless I am totally wrong, this library can not be used on MacOS 14.0 anymore if none of those two things happen:

  • Fork the isahc library and update curl there and use it here
  • Switch to a maintained library which uses up to date curl version
c1wren commented

This issue would be resolved if #524 got merged, which doesn't use CURL at all. I've gotten around the issue by referencing that git branch in the pull request instead of crates.io version in my project.