Skip to content

Vendor debug-adapter-protocol types - #213

Open
Expyron wants to merge 1 commit into
facebook:mainfrom
Expyron:main
Open

Vendor debug-adapter-protocol types#213
Expyron wants to merge 1 commit into
facebook:mainfrom
Expyron:main

Conversation

@Expyron

@Expyron Expyron commented Jul 3, 2026

Copy link
Copy Markdown

The debugserver-types dependency has not been maintained in 7 years.

This PR vendors the latest version of the official JSON Schema DAP specification and uses typify to convert it to Rust types.

All code changes are to conform to updated specification (mostly new fields), and to the slightly different conversion performed by typify.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 3, 2026
@meta-codesync

meta-codesync Bot commented Jul 3, 2026

Copy link
Copy Markdown

This pull request has been imported. If you are a Meta employee, you can view this in D110561098. (Because this pull request was imported automatically, there will not be any future comments.)

@ndmitchell

Copy link
Copy Markdown
Contributor

That's a shame. It would be really nice if there was an upstream crate that did this for us, since I'd rather starlark didn't maintain it's own debug bindings. I assume something else in Rust world has a DAP binding?

@Expyron

Expyron commented Jul 3, 2026

Copy link
Copy Markdown
Author

There are a few crates that expose DAP bindings, but all of them appear unmaintained:

Vendoring seemed to be the simpler solution, especially as the bindings are auto-generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants