Skip to content

Commit

Permalink
Update pdl-compiler version to 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hchataing committed Dec 15, 2023
1 parent 7f6fcf3 commit 7c9ca0d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
19 changes: 15 additions & 4 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ default = ["web"]
web = ["hyper", "tokio/rt-multi-thread"]

[build-dependencies]
pdl-compiler = "0.1.6"
pdl-compiler = "0.2.3"

[dependencies]
tokio = { version = "1.25.0", features = [ "fs", "io-util", "macros", "net", "rt" ] }
Expand All @@ -45,6 +45,7 @@ bytes = "1"
anyhow = "1.0.56"
num-derive = "0.4.1"
num-traits = "0.2.17"
pdl-runtime = "0.2.3"
thiserror = "1.0.49"
glam = "0.23.0"
hyper = { version = "0.14", features = ["server", "stream", "http1", "tcp"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl Device {
);

let (status, parameters) = if invalid_config_status.is_empty() {
self.config.extend(valid_parameters.into_iter());
self.config.extend(valid_parameters);
(StatusCode::UciStatusOk, Vec::new())
} else {
(StatusCode::UciStatusInvalidParam, invalid_config_status)
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

use anyhow::Result;
use bytes::Bytes;
use pdl_runtime::Packet;
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use std::fmt::Display;
Expand Down

0 comments on commit 7c9ca0d

Please sign in to comment.