From ade21185976ea2324d313a5c28a88cc0492f2934 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 20 Aug 2022 17:10:08 +0200 Subject: docs: add a example that uses a 3rd party library --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 3fd751a..d49ab8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,10 @@ prevent-circular = ["syrette_macros/prevent-circular"] name = "factory" required-features = ["factory"] +[[example]] +name = "with-3rd-party" +required-features = ["factory"] + [dependencies] syrette_macros = { path = "./macros", version = "0.2.1" } linkme = "0.3.0" @@ -29,9 +33,11 @@ ahash = "0.7.6" [dev_dependencies] mockall = "0.11.1" +third-party-lib = { path = "./examples/with-3rd-party/third-party-lib" } [workspace] members = [ "macros", + "examples/with-3rd-party/third-party-lib" ] -- cgit v1.2.3-18-g5258