mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-16 20:55:03 +01:00
split generated code so that methods are now in core
This commit is contained in:
parent
3b656b911a
commit
c333f20531
20 changed files with 1337 additions and 1206 deletions
|
|
@ -1,7 +1,8 @@
|
|||
use crate::error::{ConException, ProtocolError, TransError};
|
||||
use crate::methods::generated::parse::IResult;
|
||||
use crate::methods::generated::{
|
||||
Bit, Long, Longlong, Longstr, Octet, Short, Shortstr, Table, Timestamp,
|
||||
use amqp_core::methods::{
|
||||
Bit, FieldValue, Long, Longlong, Longstr, Octet, Short, Shortstr, Table, TableFieldName,
|
||||
Timestamp,
|
||||
};
|
||||
use nom::branch::alt;
|
||||
use nom::bytes::complete::{tag, take};
|
||||
|
|
@ -56,7 +57,6 @@ macro_rules! fail {
|
|||
};
|
||||
}
|
||||
|
||||
use crate::methods::{FieldValue, TableFieldName};
|
||||
pub use fail;
|
||||
|
||||
pub fn octet(input: &[u8]) -> IResult<'_, Octet> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue