From d1e8de86647f0bad91aa4e9eaa1b09d2277b4d51 Mon Sep 17 00:00:00 2001 From: dalance Date: Mon, 29 Jul 2019 18:01:41 +0900 Subject: [PATCH] Fix Cargo.toml --- Cargo.toml | 3 +++ sv-parser-parser/Cargo.toml | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d788e76..3b58805 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,6 @@ members = [ "sv-parser-parser", "sv-parser-macros", ] + +[patch.crates-io] +nom_locate = {git = "https://github.com/fflorent/nom_locate"} diff --git a/sv-parser-parser/Cargo.toml b/sv-parser-parser/Cargo.toml index ef96081..2464b2d 100644 --- a/sv-parser-parser/Cargo.toml +++ b/sv-parser-parser/Cargo.toml @@ -10,10 +10,10 @@ trace = ["nom-tracable/trace"] [dependencies] nom = "5.0.0" -nom_locate = { path = "../../nom_locate" } -nom-packrat = { path = "../../nom-packrat/nom-packrat" } -nom-recursive = { path = "../../nom-recursive/nom-recursive" } -nom-tracable = { path = "../../nom-tracable/nom-tracable" } +nom_locate = "0.4.0" +nom-packrat = {path = "../../nom-packrat/nom-packrat"} +nom-recursive = {path = "../../nom-recursive/nom-recursive"} +nom-tracable = {path = "../../nom-tracable/nom-tracable"} str-concat = "*" -sv-parser-macros = { path = "../sv-parser-macros" } -sv-parser-syntaxtree = { path = "../sv-parser-syntaxtree" } +sv-parser-macros = {path = "../sv-parser-macros"} +sv-parser-syntaxtree = {path = "../sv-parser-syntaxtree"}