dap-rs
dap-rs copied to clipboard
A Rust implementation of the Debug Adapter Protocol
`Sendable` represents types of DAP messages that can be sent via JSON RPC, so it would be nice if we add `Request` in here, since `dap-rs` supports client-side code.
``` error[E0308]: mismatched types --> src/main.rs:31:32 | 31 | ResponseBody::Initialize(Some(types::Capabilities { | _______------------------------_^ | | | | | arguments to this enum variant are incorrect 32 | | ..Default::default() 33...
Serde supports this: https://github.com/serde-rs/serde/pull/1179 This allows using the library with protocol messages that are not entirely spec-compliant, while also making it slightly forward-compatible with newer spec versions (i.e. newly added...
I'm enjoying this library. Really nice work. It would be very convenient to use `dap-rs` in my project. But I faced with a problem of lack of support of `tokio`...
As for now, `dap-rs` suited only for usage in adapters. I think it would make more sense if the lib is universal. As I understand, in order to adapt it...
The library should track changes to the specification and should provide a mechanism to query the version that is currently implemented: https://microsoft.github.io/debug-adapter-protocol/changelog