-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (68 loc) · 3.09 KB
/
Copy pathCargo.toml
File metadata and controls
77 lines (68 loc) · 3.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[workspace]
members = [
".",
"cargo_pup_common",
"cargo_pup_lint_config",
"cargo_pup_lint_impl"
]
exclude = ["test_app"]
[package]
name = "cargo_pup"
version = "0.1.8"
edition = "2024"
description = "A Rust architectural linting tool that integrates with rustc to enforce architectural patterns and boundaries"
license = "Apache-2.0"
repository = "https://github.com/datadog/cargo-pup"
homepage = "https://github.com/datadog/cargo-pup"
keywords = ["architecture", "linting", "rustc", "compiler", "static-analysis"]
categories = ["development-tools"]
readme = "README.md"
[workspace.dependencies]
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
anyhow = "1.0.102"
regex = "1.12.3"
tempfile = "3.27.0"
ron = "0.12.1"
cargo_metadata = "0.23"
[dependencies]
ansi_term = "0.12.1"
anyhow = { workspace = true }
tempfile = { workspace = true }
ron = { workspace = true }
cargo_metadata = { workspace = true }
cargo_pup_common = { path = "cargo_pup_common", version = "=0.1.8" }
cargo_pup_lint_impl = { path = "cargo_pup_lint_impl", version = "=0.1.8" }
cargo_pup_lint_config = { path = "cargo_pup_lint_config", version = "=0.1.8" }
#
# These bits are just to keep rust rover happy.
# Remove them at some point ...
#
# rustc_driver = {path = "/Users/scott.gerring/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/rustc-src/rust/compiler/rustc_driver", optional = true}
# rustc_hir = {path = "/Users/scott.gerring/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/rustc-src/rust/compiler/rustc_hir", optional = true}
# rustc_interface = {path = "/Users/scott.gerring/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/rustc-src/rust/compiler/rustc_interface", optional = true}
# rustc_middle = {path = "/Users/scott.gerring/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/rustc-src/rust/compiler/rustc_middle", optional = true}
# rustc_session = {path = "/Users/scott.gerring/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/rustc-src/rust/compiler/rustc_session", optional = true}
# rustc_span = {path = "/Users/scott.gerring/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/rustc-src/rust/compiler/rustc_span", optional = true}
# rustc_lint = {path = "/Users/scott.gerring/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/rustc-src/rust/compiler/rustc_lint", optional = true}
# rustc_trait_selection = {path = "/Users/scott.gerring/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/rustc-src/rust/compiler/rustc_trait_selection", optional = true}
# rustc_errors = {path = "/Users/scott.gerring/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/rustc-src/rust/compiler/rustc_errors", optional = true}
toml = "1.1.1"
which = "8.0.2"
rustup-toolchain = "0.1.10"
[dev-dependencies]
rustc_version = "0.4"
ui_test = "0.30.4"
ron = { workspace = true }
[[test]]
name = "ui-test"
path = "tests/ui-test.rs"
harness = false
[package.metadata.rust-analyzer]
rustc_private=true
[[bin]]
name = "cargo-pup" # This enables it to be invoked as `cargo pup`
path = "src/main.rs"
[[bin]]
name = "pup-driver"
path = "src/pup_driver.rs"