diff options
Diffstat (limited to 'helix-dap')
-rw-r--r-- | helix-dap/Cargo.toml | 4 | ||||
-rw-r--r-- | helix-dap/src/transport.rs | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/helix-dap/Cargo.toml b/helix-dap/Cargo.toml index 42dd29a8..24288697 100644 --- a/helix-dap/Cargo.toml +++ b/helix-dap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "helix-dap" -version = "0.5.0" +version = "0.6.0" authors = ["Blaž Hrastnik <blaz@mxxn.io>"] edition = "2018" license = "MPL-2.0" @@ -12,7 +12,7 @@ homepage = "https://helix-editor.com" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -helix-core = { version = "0.5", path = "../helix-core" } +helix-core = { version = "0.6", path = "../helix-core" } anyhow = "1.0" log = "0.4" serde = { version = "1.0", features = ["derive"] } diff --git a/helix-dap/src/transport.rs b/helix-dap/src/transport.rs index 40474e99..783a6f5d 100644 --- a/helix-dap/src/transport.rs +++ b/helix-dap/src/transport.rs @@ -36,7 +36,7 @@ pub struct Response { #[serde(tag = "type", rename_all = "camelCase")] pub enum Payload { // type = "event" - Event(Event), + Event(Box<Event>), // type = "response" Response(Response), // type = "request" @@ -45,6 +45,7 @@ pub enum Payload { #[derive(Debug)] pub struct Transport { + #[allow(unused)] id: usize, pending_requests: Mutex<HashMap<u64, Sender<Result<Response>>>>, } |