aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml1
-rw-r--r--README.md5
2 files changed, 6 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 05d234b..088bc01 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,6 +7,7 @@ description = "The convenient dependency injection framework"
repository = "https://git.hampusmat.com/syrette"
keywords = ["di", "dependency-injection", "ioc", "inversion-of-control"]
edition = "2021"
+rust-version = "1.62.1"
[package.metadata.docs.rs]
all-features = true
diff --git a/README.md b/README.md
index 37bc83b..3513eeb 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,7 @@
[![Documentation](https://img.shields.io/badge/docs.rs-syrette-blueviolet)](https://docs.rs/syrette)
[![Build](https://img.shields.io/circleci/build/github/HampusMat/Syrette/master)](https://app.circleci.com/pipelines/github/HampusMat/Syrette)
[![Coverage](https://img.shields.io/codecov/c/github/HampusMat/Syrette)](https://app.codecov.io/gh/HampusMat/Syrette)
+[![Rust](https://img.shields.io/badge/rust-1.62.1%2B-informational)](#rust-version-requirements)
The convenient dependency injection & inversion of control framework for Rust.
@@ -165,6 +166,10 @@ fn main() -> Result<(), Box<dyn Error>>
For more examples see the [examples folder](https://git.hampusmat.com/syrette/tree/examples).
+## Rust version requirements
+Syrette requires Rust >= 1.62.1 to work. This is mainly due to the dependency on [Linkme](https://crates.io/crates/linkme).
+
+
## Todo
- Add support for generic factories