Skip to content

Commit

Permalink
Merge pull request #41 from mpihlak/refactor-to-buffer
Browse files Browse the repository at this point in the history
Refactor to parse Mongo messages from buffer
  • Loading branch information
mpihlak authored Sep 2, 2024
2 parents b190517 + b199e57 commit e52162f
Show file tree
Hide file tree
Showing 19 changed files with 584 additions and 1,824 deletions.
89 changes: 76 additions & 13 deletions Cargo.lock

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

5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,5 @@ members = [
"async-bson",
]

# WASM library depends on sync version of async-bson and mongo-protocol. This
# conflicts with the proxy, so exclude it from the workspace to avoid build
# errors.
exclude = [ "envoy-wasm" ]

[profile.release]
debug = false
8 changes: 1 addition & 7 deletions async-bson/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@ version = "0.2.3"
authors = ["mpihlak <martin.pihlak@gmail.com>"]
edition = "2018"

[features]
default = [ "tokio/io-util", "tokio/macros", "tokio/rt-multi-thread" ]
is_sync = [ "maybe-async/is_sync", "byteorder" ]

[dependencies]
maybe-async = { version = "0.2" }
tokio = { version = "1.34", default-features = false, optional = true }
byteorder = { version = "1.3", optional = true }
byteorder = { version = "1.3" }

[dev-dependencies]
bson = '1.1'
Loading

0 comments on commit e52162f

Please sign in to comment.