Skip to content

Commit 0dfecab

Browse files
meili-bors[bot]meili-botStrift
authored
Merge #629 #630
629: Update installation instructions r=curquiza a=meili-bot _This PR is auto-generated._ Update README.md with the latest installation instructions following this [mega issue](meilisearch/integration-guides#308). 630: Fix linting errors r=curquiza a=Strift # Pull Request Attempts to fix linting errors from #629 ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: meili-bot <[email protected]> Co-authored-by: Strift <[email protected]>
3 parents 9f2e427 + 588322f + 1d299fd commit 0dfecab

File tree

5 files changed

+9
-44
lines changed

5 files changed

+9
-44
lines changed

README.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
## Table of Contents <!-- omit in TOC -->
3636

3737
- [📖 Documentation](#-documentation)
38-
- [⚡ Supercharge your Meilisearch experience](#-supercharge-your-meilisearch-experience)
3938
- [🔧 Installation](#-installation)
4039
- [🚀 Getting started](#-getting-started)
4140
- [🌐 Running in the Browser with WASM](#-running-in-the-browser-with-wasm)
@@ -48,10 +47,6 @@ This readme contains all the documentation you need to start using this Meilisea
4847

4948
For general information on how to use Meilisearch—such as our API reference, tutorials, guides, and in-depth articles—refer to our [main documentation website](https://www.meilisearch.com/docs).
5049

51-
## ⚡ Supercharge your Meilisearch experience
52-
53-
Say goodbye to server deployment and manual updates with [Meilisearch Cloud](https://www.meilisearch.com/cloud?utm_campaign=oss&utm_source=github&utm_medium=meilisearch-rust). Get started with a 14-day free trial! No credit card required.
54-
5550
## 🔧 Installation
5651

5752
To use `meilisearch-sdk`, add this to your `Cargo.toml`:
@@ -73,23 +68,11 @@ You can enable the `sync` feature to make most structs `Sync`. It may be a bit s
7368

7469
Using this crate is possible without [serde](https://crates.io/crates/serde), but a lot of features require serde.
7570

76-
### Run a Meilisearch Instance <!-- omit in TOC -->
77-
78-
This crate requires a Meilisearch server to run.
79-
80-
There are many easy ways to [download and run a Meilisearch instance](https://www.meilisearch.com/docs/learn/getting_started/installation).
71+
### Run Meilisearch <!-- omit in toc -->
8172

82-
For example,using the `curl` command in [your Terminal](https://itconnect.uw.edu/learn/workshops/online-tutorials/web-publishing/what-is-a-terminal/):
83-
84-
```bash
85-
# Install Meilisearch
86-
curl -L https://install.meilisearch.com | sh
87-
88-
# Launch Meilisearch
89-
./meilisearch --master-key=masterKey
90-
```
73+
⚡️ **Launch, scale, and streamline in minutes with Meilisearch Cloud**—no maintenance, no commitment, cancel anytime. [Try it free now](https://cloud.meilisearch.com/login?utm_campaign=oss&utm_source=github&utm_medium=meilisearch-rust).
9174

92-
NB: you can also download Meilisearch from **Homebrew** or **APT**.
75+
🪨 Prefer to self-host? [Download and deploy](https://www.meilisearch.com/docs/learn/self_hosted/getting_started_with_self_hosted_meilisearch?utm_campaign=oss&utm_source=github&utm_medium=meilisearch-rust) our fast, open-source search engine on your own infrastructure.
9376

9477
## 🚀 Getting started
9578

README.tpl

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
## Table of Contents <!-- omit in TOC -->
3636

3737
- [📖 Documentation](#-documentation)
38-
- [⚡ Supercharge your Meilisearch experience](#-supercharge-your-meilisearch-experience)
3938
- [🔧 Installation](#-installation)
4039
- [🚀 Getting started](#-getting-started)
4140
- [🌐 Running in the Browser with WASM](#-running-in-the-browser-with-wasm)
@@ -48,10 +47,6 @@ This readme contains all the documentation you need to start using this Meilisea
4847

4948
For general information on how to use Meilisearch—such as our API reference, tutorials, guides, and in-depth articles—refer to our [main documentation website](https://www.meilisearch.com/docs).
5049

51-
## ⚡ Supercharge your Meilisearch experience
52-
53-
Say goodbye to server deployment and manual updates with [Meilisearch Cloud](https://www.meilisearch.com/cloud?utm_campaign=oss&utm_source=github&utm_medium=meilisearch-rust). Get started with a 14-day free trial! No credit card required.
54-
5550
## 🔧 Installation
5651

5752
To use `meilisearch-sdk`, add this to your `Cargo.toml`:
@@ -73,23 +68,11 @@ You can enable the `sync` feature to make most structs `Sync`. It may be a bit s
7368

7469
Using this crate is possible without [serde](https://crates.io/crates/serde), but a lot of features require serde.
7570

76-
### Run a Meilisearch Instance <!-- omit in TOC -->
77-
78-
This crate requires a Meilisearch server to run.
79-
80-
There are many easy ways to [download and run a Meilisearch instance](https://www.meilisearch.com/docs/learn/getting_started/installation).
71+
### Run Meilisearch <!-- omit in toc -->
8172

82-
For example,using the `curl` command in [your Terminal](https://itconnect.uw.edu/learn/workshops/online-tutorials/web-publishing/what-is-a-terminal/):
83-
84-
```bash
85-
# Install Meilisearch
86-
curl -L https://install.meilisearch.com | sh
87-
88-
# Launch Meilisearch
89-
./meilisearch --master-key=masterKey
90-
```
73+
⚡️ **Launch, scale, and streamline in minutes with Meilisearch Cloud**—no maintenance, no commitment, cancel anytime. [Try it free now](https://cloud.meilisearch.com/login?utm_campaign=oss&utm_source=github&utm_medium=meilisearch-rust).
9174

92-
NB: you can also download Meilisearch from **Homebrew** or **APT**.
75+
🪨 Prefer to self-host? [Download and deploy](https://www.meilisearch.com/docs/learn/self_hosted/getting_started_with_self_hosted_meilisearch?utm_campaign=oss&utm_source=github&utm_medium=meilisearch-rust) our fast, open-source search engine on your own infrastructure.
9376

9477
{{readme}}
9578

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ mod tests {
14241424
*/
14251425
// ==> executing the action without enough right
14261426
let mut no_right_key = KeyBuilder::new();
1427-
no_right_key.with_name(&format!("{name}_1"));
1427+
no_right_key.with_name(format!("{name}_1"));
14281428
let no_right_key = client.create_key(no_right_key).await.unwrap();
14291429

14301430
// backup the master key for cleanup at the end of the test

src/errors.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ pub enum Error {
6868

6969
#[derive(Debug, Clone, Deserialize, Error)]
7070
#[serde(rename_all = "camelCase")]
71-
7271
pub struct MeilisearchCommunicationError {
7372
pub status_code: u16,
7473
pub message: Option<String>,

src/search.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub struct Filter<'a> {
2121

2222
impl<'a> Filter<'a> {
2323
#[must_use]
24-
pub fn new(inner: Either<&'a str, Vec<&'a str>>) -> Filter {
24+
pub fn new(inner: Either<&'a str, Vec<&'a str>>) -> Filter<'a> {
2525
Filter { inner }
2626
}
2727
}
@@ -601,7 +601,7 @@ pub struct MultiSearchQuery<'a, 'b, Http: HttpClient = DefaultHttpClient> {
601601
pub queries: Vec<SearchQuery<'b, Http>>,
602602
}
603603

604-
impl<'a, 'b, Http: HttpClient> Serialize for MultiSearchQuery<'a, 'b, Http> {
604+
impl<Http: HttpClient> Serialize for MultiSearchQuery<'_, '_, Http> {
605605
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
606606
where
607607
S: Serializer,

0 commit comments

Comments
 (0)