From 8ee51f14735b42446f1c2280ca7a17167ef94ac0 Mon Sep 17 00:00:00 2001 From: Alexander Korolev Date: Sun, 21 Apr 2024 15:18:31 +0200 Subject: [PATCH] use to helper from handlebars-magic --- README.md | 3 --- templates/README.md | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index c644607..4e0467b 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,6 @@ serde_json = "1" tokio = { version = "1", default-features = false, features = [ "rt-multi-thread", "macros" ] } uuid = { version = "1.0", default-features = false, features = [ "v4" ] } warp = { version = "0.3", default-features = false } - -[patch.crates-io] -openid = { path = "../../openid" } ``` in src/main.rs: diff --git a/templates/README.md b/templates/README.md index a0cfa5d..cfff332 100644 --- a/templates/README.md +++ b/templates/README.md @@ -56,7 +56,7 @@ This example provides only Rust part, assuming just default JHipster frontend se in Cargo.toml: -{{ codeblock "toml" ( from "[dependencies]" ( http_get (replace "https://raw.githubusercontent.com/kilork/openid-examples/vVERSION/Cargo.toml" "VERSION" (env_var "OPENID_RUST_MAJOR_VERSION") ) ) ) }} +{{ codeblock "toml" ( to "[patch.crates-io]" ( from "[dependencies]" ( http_get (replace "https://raw.githubusercontent.com/kilork/openid-examples/vVERSION/Cargo.toml" "VERSION" (env_var "OPENID_RUST_MAJOR_VERSION") ) ) ) ) }} in src/main.rs: