Skip to content

Commit

Permalink
chore(volo-thrift): add missing feature unsafe_unchecked
Browse files Browse the repository at this point in the history
Signed-off-by: Yu Li <[email protected]>
  • Loading branch information
yukiiiteru committed Nov 27, 2024
1 parent 66ed99d commit 0e00678
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions volo-thrift/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ multiplex = []
# unsafe-codec can achieve better performance for thrift binary protocol, but may cause undefined behavior
# if the thrift message is malformed.
unsafe-codec = []
# This will use unwrap_unchecked instead of unwrap in some places.
unsafe_unchecked = ["volo/unsafe_unchecked"]

0 comments on commit 0e00678

Please sign in to comment.