Lints and suggestions for the Nix programming language
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #125 from oppiliappan/workspace-dependencies

chore: more use of cargo workspace

authored by

Shahar "Dawn" Or and committed by
GitHub
229a40d1 4bbc68bb

+64 -48
+29
Cargo.toml
··· 2 2 3 3 members = ["bin", "lib", "macros", "vfs"] 4 4 5 + [workspace.package] 6 + edition = "2018" 7 + license = "MIT" 8 + 9 + [workspace.dependencies] 10 + ariadne = "0.1.3" 11 + clap = "3.0.0-beta.4" 12 + if_chain = "1.0" 13 + ignore = "0.4.18" 14 + indexmap = "1.6.2" 15 + insta = "1.8.0" 16 + lazy_static = "1.0" 17 + lib.path = "./lib" 18 + macros.path = "./macros" 19 + paste = "1.0.15" 20 + proc-macro2 = "1.0.27" 21 + quote = "1.0" 22 + rayon = "1.5.1" 23 + rnix = "0.10.2" 24 + rowan = "0.12.5" 25 + serde = { features = ["derive"], version = "1.0.68" } 26 + serde_json = { version = "1.0.68" } 27 + similar = "2.1.0" 28 + strip-ansi-escapes = "0.1.1" 29 + syn = { features = ["full"], version = "1.0" } 30 + thiserror = "1.0.30" 31 + toml = "0.5.8" 32 + vfs.path = "./vfs" 33 + 5 34 [workspace.lints.clippy] 6 35 pedantic = { level = "deny", priority = -1 } 7 36
+17 -23
bin/Cargo.toml
··· 1 1 [package] 2 2 authors = ["Akshay <nerdy@peppe.rs>"] 3 3 description = "Lints and suggestions for the Nix programming language" 4 - edition = "2018" 5 - license = "MIT" 4 + edition.workspace = true 5 + license.workspace = true 6 6 name = "statix" 7 7 version = "0.5.8" 8 8 ··· 15 15 path = "src/main.rs" 16 16 17 17 [dependencies] 18 - ariadne = "0.1.3" 19 - clap = "3.0.0-beta.4" 20 - ignore = "0.4.18" 21 - lib = { path = "../lib" } 22 - rayon = "1.5.1" 23 - rnix = "0.10.2" 24 - similar = "2.1.0" 25 - thiserror = "1.0.30" 26 - toml = "0.5.8" 27 - vfs = { path = "../vfs" } 28 - 29 - [dependencies.serde] 30 - features = ["derive"] 31 - version = "1.0.68" 32 - 33 - [dependencies.serde_json] 34 - optional = true 35 - version = "1.0.68" 18 + ariadne.workspace = true 19 + clap.workspace = true 20 + ignore.workspace = true 21 + lib.workspace = true 22 + rayon.workspace = true 23 + rnix.workspace = true 24 + serde.workspace = true 25 + serde_json = { workspace = true, optional = true } 26 + similar.workspace = true 27 + thiserror.workspace = true 28 + toml.workspace = true 29 + vfs.workspace = true 36 30 37 31 [dev-dependencies] 38 - insta = "1.8.0" 39 - paste = "1.0.15" 40 - strip-ansi-escapes = "0.1.1" 32 + insta.workspace = true 33 + paste.workspace = true 34 + strip-ansi-escapes.workspace = true 41 35 42 36 [features] 43 37 json = ["lib/json-out", "serde_json"]
+9 -13
lib/Cargo.toml
··· 1 1 [package] 2 - edition = "2018" 3 - license = "MIT" 2 + edition.workspace = true 3 + license.workspace = true 4 4 name = "lib" 5 5 version = "0.0.0" 6 6 7 7 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 8 8 9 9 [dependencies] 10 - if_chain = "1.0" 11 - lazy_static = "1.0" 12 - macros = { path = "../macros" } 13 - rnix = "0.10.2" 14 - rowan = "0.12.5" 15 - serde_json = { version = "1.0.68", optional = true } 16 - 17 - [dependencies.serde] 18 - features = ["derive"] 19 - optional = true 20 - version = "1.0.130" 10 + if_chain.workspace = true 11 + lazy_static.workspace = true 12 + macros.workspace = true 13 + rnix.workspace = true 14 + rowan.workspace = true 15 + serde = { workspace = true, optional = true } 16 + serde_json = { workspace = true, optional = true } 21 17 22 18 [features] 23 19 default = []
+5 -8
macros/Cargo.toml
··· 1 1 [package] 2 - edition = "2018" 3 - license = "MIT" 2 + edition.workspace = true 3 + license.workspace = true 4 4 name = "macros" 5 5 version = "0.0.0" 6 6 7 7 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 8 8 9 9 [dependencies] 10 - proc-macro2 = "1.0.27" 11 - quote = "1.0" 12 - 13 - [dependencies.syn] 14 - features = ["full"] 15 - version = "1.0" 10 + proc-macro2.workspace = true 11 + quote.workspace = true 12 + syn.workspace = true 16 13 17 14 [lib] 18 15 proc-macro = true
+4 -4
vfs/Cargo.toml
··· 1 1 [package] 2 - edition = "2018" 3 - license = "MIT" 2 + edition.workspace = true 3 + license.workspace = true 4 4 name = "vfs" 5 5 version = "0.0.0" 6 6 7 7 [dependencies] 8 - indexmap = "1.6.2" 9 - rayon = "1.5.1" 8 + indexmap.workspace = true 9 + rayon.workspace = true 10 10 11 11 [lints] 12 12 workspace = true