[COMPASS-3662] bson: bson-rs needs to support dual compilation for decimal128 Created: 22/May/19  Updated: 10/Jan/24  Resolved: 30/Aug/21

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Irina Shestak (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-3669
Story Points: 5
Documentation Changes: Not Needed

 Description   

decimal128.rs should have cfg wrappers for its methods. for wasm target, everything but `from_raw_bytes` can just be `unimplemented` for now.

i forsee a bunch of issues with bson crate and supporting two different types of Decimal128. There is a chance that its own wrapper would have to be implemented as a generic to get this to work, or alternatively in this branch, we should just get rid of the other decimal128 implementation so we can at least compile without errors.


Generated at Wed Feb 07 22:33:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.