Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ jobs:
- name: Run Clippy
run: |
cargo hack clippy \
--locked \
--workspace --all-targets \
--feature-powerset \
--exclude-features bb_rs,bb_utxo
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,3 @@ temp_fixtures

# Claude Code completion markers
.done

# Symlink to GENERATED_AI_GUIDANCE.md (canonical file)
CLAUDE.md
102 changes: 91 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ support = { path = "./pkg/support" }
p2p = { path = "./pkg/p2p" }
p2p2 = { path = "./pkg/p2p2" }
parse-link = { path = "./pkg/parse-link" }
price-cache-http = { path = "./pkg/price-cache-http" }
price-cache-interface = { path = "./pkg/price-cache-interface" }
price-cache-pg = { path = "./pkg/price-cache-pg" }
posthog-interface = { path = "./pkg/posthog-interface" }
posthog = { path = "./pkg/posthog" }
kyc = { path = "./pkg/kyc" }
Expand Down Expand Up @@ -123,6 +126,7 @@ bungee-interface = { path = "./pkg/bungee-interface" }
bungee-client-http = { path = "./pkg/bungee-client-http" }
slack-client-interface = { path = "./pkg/slack-client-interface" }
slack-client-http = { path = "./pkg/slack-client-http" }
swap-pricer-price-cache = { path = "./pkg/swap-pricer-price-cache" }
ramps-interface = { path = "./pkg/ramps-interface" }
ramps-providers-interface = { path = "./pkg/ramps-providers-interface" }
ramps-storage-interface = { path = "./pkg/ramps-storage-interface" }
Expand Down Expand Up @@ -271,14 +275,14 @@ once_cell = "1.19.0"
parking_lot = "0.12.1"
phonenumber = "0.3"
pretty-hex = "0.3.0"
proptest = "1.6.0"
proptest = "1.11.0"
proc-macro2 = "1.0"
quote = "1.0"
quickcheck = "1.0.3"
rand = "0.8.5"
rand_chacha = "0.3.1"
rand_xorshift = "0.3"
reqwest = { version = "0.12", features = ["json", "multipart"] }
rand_xorshift = "0.4"
reqwest = { version = "0.12", features = ["json", "multipart", "stream"] }
rlp = "0.6.1"
rocksdb = "0.21"
rpassword = "7.4.0"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ cargo hakari manage-deps --yes
```

The `Rust / Hakari Check` GitHub workflow enforces that the crate stays synchronized; if it fails, re-run the commands above and commit the resulting changes.
The main `Test` workflow also verifies `Cargo.lock` during its clippy run by adding `--locked` to `cargo hack clippy`; if that check reports that the lockfile needs updates, regenerate and commit `Cargo.lock` before retrying CI.

## Contributing

Expand Down
7 changes: 6 additions & 1 deletion app/packages/payy/scripts/export-ts-types.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ echo "📋 Checking generated types ..."

# Type-check only the generated TypeScript types using the custom tsconfig
cd "${workspace_root}/app/packages/payy"

# Keep this aligned with the app TypeScript toolchain (see app/yarn.lock).
TS_RS_TS_VERSION="5.9.3"
echo "Using TypeScript ${TS_RS_TS_VERSION} for generated-bindings type checking."

# Note: this expects at least one top-level `src/ts-rs-bindings/*.ts` file.
# If we adopt namespaced exports via `#[ts(export_to = ".../")]`, revisit this
# check and `src/ts-rs-bindings/tsconfig.tsrs.json` include patterns.
if ls src/ts-rs-bindings/*.ts && npx tsc --project src/ts-rs-bindings/tsconfig.tsrs.json; then
if ls src/ts-rs-bindings/*.ts && npx --yes --package typescript@${TS_RS_TS_VERSION} tsc --project src/ts-rs-bindings/tsconfig.tsrs.json; then
echo "✅ TypeScript type check passed for generated bindings."
else
echo "❌ TypeScript type check failed for generated bindings!"
Expand Down
2 changes: 2 additions & 0 deletions app/packages/payy/src/ts-rs-bindings/ActivityExternalData.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions app/packages/payy/src/ts-rs-bindings/Command.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading