From effe06e2f16f5b6faab258ff2b031dd5f14d59ec Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 29 Jan 2022 16:58:19 +0530 Subject: do not use git dependency --- Cargo.lock | 3 ++- bin/Cargo.toml | 5 +---- lib/Cargo.toml | 5 +---- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5b347d2..b75c29c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -399,7 +399,8 @@ checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" [[package]] name = "rnix" version = "0.10.1" -source = "git+https://github.com/nix-community/rnix-parser?rev=8083f5694ddeaca47c946aa9ae7ecf117fa4823b#8083f5694ddeaca47c946aa9ae7ecf117fa4823b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "065c5eac8e8f7e7b0e7227bdc46e2d8dd7d69fff7a9a2734e21f686bbcb9b2c9" dependencies = [ "cbitset", "rowan", diff --git a/bin/Cargo.toml b/bin/Cargo.toml index 34d6513..832ce72 100644 --- a/bin/Cargo.toml +++ b/bin/Cargo.toml @@ -16,6 +16,7 @@ path = "src/main.rs" [dependencies] ariadne = "0.1.3" +rnix = "0.10.1" clap = "3.0.0-beta.4" ignore = "0.4.18" thiserror = "1.0.30" @@ -24,10 +25,6 @@ vfs = { path = "../vfs" } lib = { path = "../lib" } toml = "0.5.8" -[dependencies.rnix] -git = "https://github.com/nix-community/rnix-parser" -rev = "8083f5694ddeaca47c946aa9ae7ecf117fa4823b" - [dependencies.serde] version = "1.0.68" features = [ "derive" ] diff --git a/lib/Cargo.toml b/lib/Cargo.toml index d90c5bf..82edfe8 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -7,16 +7,13 @@ license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +rnix = "0.10.1" if_chain = "1.0" macros = { path = "../macros" } lazy_static = "1.0" rowan = "0.12.5" serde_json = { version = "1.0.68", optional = true } -[dependencies.rnix] -git = "https://github.com/nix-community/rnix-parser" -rev = "8083f5694ddeaca47c946aa9ae7ecf117fa4823b" - [dependencies.serde] version = "1.0.130" features = [ "derive" ] -- cgit v1.2.3