This commit is contained in:
nora 2022-02-23 20:10:53 +01:00
parent 99ce586dec
commit 89820b06ca
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
use crate::frame::FrameType; use crate::frame::{ChannelId, FrameType};
use crate::{frame, methods}; use crate::{frame, methods};
use amqp_core::methods::{FieldValue, Method}; use amqp_core::methods::{FieldValue, Method};
use std::collections::HashMap; use std::collections::HashMap;
@ -21,7 +21,7 @@ async fn write_start_ok_frame() {
let frame = frame::Frame { let frame = frame::Frame {
kind: FrameType::Method, kind: FrameType::Method,
channel: 0, channel: ChannelId::zero(),
payload: payload.into(), payload: payload.into(),
}; };

View file

@ -1,7 +1,7 @@
use crate::project_root; use crate::project_root;
use anyhow::{bail, Context, Result}; use anyhow::{bail, Context, Result};
use std::path::Path; use std::path::Path;
use std::process::{Command, Stdio}; use std::process::Command;
pub fn main() -> Result<()> { pub fn main() -> Result<()> {
let project_root = project_root(); let project_root = project_root();