Skip to content

Commit

Permalink
feat: error-stack as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
indietyp committed Sep 21, 2024
1 parent e5cbf86 commit fb28a3c
Show file tree
Hide file tree
Showing 20 changed files with 27 additions and 3 deletions.
1 change: 1 addition & 0 deletions apps/hash-graph/bins/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@rust/authorization": "0.0.0-private",
"@rust/codec": "0.0.0-private",
"@rust/error-stack": "0.5.0",
"@rust/graph": "0.0.0-private",
"@rust/graph-api": "0.0.0-private",
"@rust/hash-tracing": "0.0.0-private",
Expand Down
1 change: 1 addition & 0 deletions apps/hash-graph/libs/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"dependencies": {
"@blockprotocol/type-system-rs": "0.0.0-private",
"@rust/authorization": "0.0.0-private",
"@rust/error-stack": "0.5.0",
"@rust/graph": "0.0.0-private",
"@rust/graph-type-defs": "0.0.0-private",
"@rust/graph-types": "0.0.0-private",
Expand Down
1 change: 1 addition & 0 deletions apps/hash-graph/libs/graph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"@blockprotocol/type-system-rs": "0.0.0-private",
"@rust/authorization": "0.0.0-private",
"@rust/codec": "0.0.0-private",
"@rust/error-stack": "0.5.0",
"@rust/graph-types": "0.0.0-private",
"@rust/hash-graph-store": "0.0.0-private",
"@rust/hash-status": "0.0.0-private",
Expand Down
1 change: 1 addition & 0 deletions apps/hash-graph/libs/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"dependencies": {
"@blockprotocol/type-system-rs": "0.0.0-private",
"@rust/authorization": "0.0.0-private",
"@rust/error-stack": "0.5.0",
"@rust/graph-types": "0.0.0-private",
"@rust/temporal-versioning": "0.0.0-private"
}
Expand Down
1 change: 1 addition & 0 deletions apps/hash-graph/libs/test-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@rust/authorization": "0.0.0-private",
"@rust/codec": "0.0.0-private",
"@rust/error-stack": "0.5.0",
"@rust/graph": "0.0.0-private",
"@rust/graph-api": "0.0.0-private",
"@rust/graph-type-defs": "0.0.0-private",
Expand Down
3 changes: 2 additions & 1 deletion libs/@blockprotocol/type-system/rust/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"test:unit": "cargo hack nextest run --feature-powerset --all-targets && cargo test --all-features --doc"
},
"dependencies": {
"@rust/codec": "0.0.0-private"
"@rust/codec": "0.0.0-private",
"@rust/error-stack": "0.5.0"
},
"devDependencies": {
"@rust/graph-test-data": "0.0.0-private",
Expand Down
1 change: 1 addition & 0 deletions libs/@local/codec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"lint:clippy": "just clippy"
},
"dependencies": {
"@rust/error-stack": "0.5.0",
"@rust/harpc-wire-protocol": "0.0.0-private"
}
}
1 change: 1 addition & 0 deletions libs/@local/harpc/net/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"@rust/codec": "0.0.0-private",
"@rust/error-stack": "0.5.0",
"@rust/harpc-wire-protocol": "0.0.0-private"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions libs/@local/harpc/tower/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"license": "AGPL-3",
"dependencies": {
"@rust/error-stack": "0.5.0",
"@rust/harpc-net": "0.0.0-private",
"@rust/harpc-types": "0.0.0-private",
"@rust/harpc-wire-protocol": "0.0.0-private"
Expand Down
1 change: 1 addition & 0 deletions libs/@local/harpc/wire-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"test:unit": "cargo hack nextest run --feature-powerset --all-targets && cargo test --all-features --doc"
},
"dependencies": {
"@rust/error-stack": "0.5.0",
"@rust/harpc-types": "0.0.0-private"
}
}
1 change: 1 addition & 0 deletions libs/@local/hash-authorization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"dependencies": {
"@rust/codec": "0.0.0-private",
"@rust/error-stack": "0.5.0",
"@rust/graph-types": "0.0.0-private"
}
}
1 change: 1 addition & 0 deletions libs/@local/hash-graph-types/rust/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"dependencies": {
"@blockprotocol/type-system-rs": "0.0.0-private",
"@rust/codec": "0.0.0-private",
"@rust/error-stack": "0.5.0",
"@rust/temporal-versioning": "0.0.0-private"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions libs/@local/hash-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"@blockprotocol/type-system-rs": "0.0.0-private",
"@rust/error-stack": "0.5.0",
"@rust/graph-types": "0.0.0-private"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions libs/@local/hql/diagnostics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"test:unit": "cargo hack nextest run --feature-powerset --all-targets && cargo test --all-features --doc"
},
"dependencies": {
"@rust/error-stack": "0.5.0",
"@rust/hql-span": "0.0.0-private"
}
}
3 changes: 3 additions & 0 deletions libs/@local/repo-chores/rust/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
"fix:clippy": "just clippy --fix",
"lint:clippy": "just clippy",
"upload-benchmarks": "../../../../target/debug/repo-chores-cli benches upload"
},
"dependencies": {
"@rust/error-stack": "0.5.0"
}
}
1 change: 1 addition & 0 deletions libs/@local/temporal-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"lint:clippy": "just clippy"
},
"dependencies": {
"@rust/error-stack": "0.5.0",
"@rust/graph-types": "0.0.0-private"
}
}
3 changes: 3 additions & 0 deletions libs/@local/tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
"scripts": {
"fix:clippy": "just clippy --fix",
"lint:clippy": "just clippy"
},
"dependencies": {
"@rust/error-stack": "0.5.0"
}
}
3 changes: 2 additions & 1 deletion libs/deer/desert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.0-private",
"private": true,
"dependencies": {
"@rust/deer": "0.0.0-reserved-private"
"@rust/deer": "0.0.0-reserved-private",
"@rust/error-stack": "0.5.0"
}
}
3 changes: 2 additions & 1 deletion libs/deer/json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"license": "MIT OR Apache-2.0",
"dependencies": {
"@rust/deer": "0.0.0-reserved-private"
"@rust/deer": "0.0.0-reserved-private",
"@rust/error-stack": "0.5.0"
}
}
1 change: 1 addition & 0 deletions tests/hash-graph-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@apps/hash-graph": "0.0.0-private",
"@blockprotocol/type-system-rs": "0.0.0-private",
"@rust/authorization": "0.0.0-private",
"@rust/error-stack": "0.5.0",
"@rust/graph": "0.0.0-private",
"@rust/graph-test-data": "0.0.0-private",
"@rust/graph-types": "0.0.0-private",
Expand Down

0 comments on commit fb28a3c

Please sign in to comment.