Skip to content

Commit 65f8d2e

Browse files
fix: pin project to rust 1.78
1 parent 4918e9f commit 65f8d2e

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lact-schema/src/lib.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,21 @@ impl Default for ProfileRule {
382382
}
383383

384384
#[skip_serializing_none]
385-
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Default)]
385+
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
386386
pub struct ProcessProfileRule {
387387
pub name: Arc<str>,
388388
pub args: Option<String>,
389389
}
390390

391+
impl Default for ProcessProfileRule {
392+
fn default() -> Self {
393+
Self {
394+
name: String::new().into(),
395+
args: None,
396+
}
397+
}
398+
}
399+
391400
pub type ProcessMap = IndexMap<i32, ProcessInfo>;
392401

393402
#[derive(Serialize, Deserialize, Clone, Default)]

rust-toolchain.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[toolchain]
2+
channel = "1.78.0"

0 commit comments

Comments
 (0)