Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions Cargo.lock

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

23 changes: 23 additions & 0 deletions crates/engineioxide-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,29 @@ rand = "0.10"
base64 = "0.22"
serde.workspace = true
bytes.workspace = true
serde_json.workspace = true
http-body.workspace = true
http-body-util.workspace = true
http.workspace = true
futures-util.workspace = true
smallvec.workspace = true
pin-project-lite.workspace = true

# Engine.io V3 payload
itoa = { workspace = true, optional = true }
memchr = { version = "2.7", optional = true }

# Tracing
tracing = { workspace = true, optional = true }


[features]
v3 = ["dep:memchr", "dep:itoa"]
tracing = ["dep:tracing"]

[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt", "time", "sync"] }
tokio-stream.workspace = true

[lints]
workspace = true
5 changes: 5 additions & 0 deletions crates/engineioxide-core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#![warn(missing_docs)]
#![doc = include_str!("../README.md")]

mod packet;
mod protocol;
mod sid;
mod str;

pub use packet::{OpenPacket, Packet, PacketBuf, PacketParseError};
pub use protocol::{ProtocolVersion, TransportType, UnknownTransportError};
pub use sid::Sid;
pub use str::Str;
pub mod payload;
Loading
Loading