diff options
author | HampusM <hampus@hampusmat.com> | 2022-11-08 22:17:19 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-11-08 22:17:19 +0100 |
commit | 83b16ad24c02ad7520c24f711171b4450581cf94 (patch) | |
tree | 682e2860c403d27ac52312405761203b48d2ab11 | |
parent | 105d289e1926055783d8804734b299dae10bc464 (diff) |
docs: add msrv
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | README.md | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -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 @@ -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 |