diff --git a/Cargo.toml b/Cargo.toml index 6fb07ef8d4..5562e66057 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ repository = "https://github.com/quickwit-oss/tantivy" readme = "README.md" keywords = ["search", "information", "retrieval"] edition = "2021" +rust-version = "1.62" [dependencies] oneshot = "0.1.3" diff --git a/README.md b/README.md index f8ca04a7c8..fae8b9d232 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Distributed search is out of the scope of Tantivy, but if you are looking for th # Getting started -Tantivy works on stable Rust (>= 1.27) and supports Linux, macOS, and Windows. +Tantivy works on stable Rust and supports Linux, macOS, and Windows. - [Tantivy's simple search example](https://tantivy-search.github.io/examples/basic_search.html) - [tantivy-cli and its tutorial](https://github.com/quickwit-oss/tantivy-cli) - `tantivy-cli` is an actual command-line interface that makes it easy for you to create a search engine, @@ -81,9 +81,13 @@ There are many ways to support this project. We use the GitHub Pull Request workflow: reference a GitHub ticket and/or include a comprehensive commit message when opening a PR. +## Minimum supported Rust version + +Tantivy currently requires at least Rust 1.62 or later to compile. + ## Clone and build locally -Tantivy compiles on stable Rust but requires `Rust >= 1.27`. +Tantivy compiles on stable Rust. To check out and run tests, you can simply run: ```bash