Skip to content

Add feature isahc-static-ssl #469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

TcOhamtyw6lt
Copy link
Contributor

Pull Request

Related issue

Fixes #468

What does this PR do?

  • With isahc-static-curl feature compiling a static build was still not achievable since it still needed system-wide installed OpenSSL libraries. With the isahc-static-ssl feature was added, now its possible to compile the library without OpenSSL libraries installed.

  • The src/task_info.rs file had a failing doc test due not using environmental variables like other tests do. This issue was fixed.

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Cargo.toml Outdated
@@ -38,8 +38,9 @@ wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"

[features]
default = ["isahc-static-curl"]
default = ["isahc-static-curl", "isahc-static-ssl"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would be the point of using both by default?

Suggested change
default = ["isahc-static-curl", "isahc-static-ssl"]
default = ["isahc-static-curl"]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guessed you aim for a more static-friendly lib. Anyways, fixed.

@bidoubiwa bidoubiwa added skip-changelog The PR will not appear in the release changelogs enhancement New feature or request and removed skip-changelog The PR will not appear in the release changelogs labels May 15, 2023
@TcOhamtyw6lt TcOhamtyw6lt force-pushed the expose_isahc_static_ssl-fix_taskinfo_doc_test branch from 05eaa3a to 23950e9 Compare May 15, 2023 20:21
With isahc-static-curl feature compiling a static build was still not
achievable since it still needed system-wide installed OpenSSL
libraries. With the isahc-static-ssl feature was added, now its
possible to compile the library without OpenSSL libraries installed.

The src/task_info.rs file had a failing doc test due not using
environmental variables like other tests do. This issue was fixed.
@TcOhamtyw6lt TcOhamtyw6lt force-pushed the expose_isahc_static_ssl-fix_taskinfo_doc_test branch from 23950e9 to 10a6354 Compare May 15, 2023 20:24
Copy link
Contributor

@bidoubiwa bidoubiwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks ✨

Copy link
Contributor

@bidoubiwa bidoubiwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors merge

@meili-bors
Copy link
Contributor

meili-bors bot commented May 16, 2023

@meili-bors meili-bors bot merged commit 55ee372 into meilisearch:main May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose isahc crate's static-ssl feature
2 participants