-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
When the csfle feature is enabled, attempting to compile the driver produces the following error on Rust 1.57:
error[E0658]: use of unstable library feature 'available_parallelism' --> src/client/csfle/state_machine.rs:43:24 | 43 | let num_cpus = std::thread::available_parallelism()?.get(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #74479 <https://github.com/rust-lang/rust/issues/74479> for more information
And on all Rust versions produces:
error[E0599]: no method named `to_binary` found for struct `RawBinaryRef` in the current scope --> src/client/csfle/client_encryption.rs:74:20 | 74 | Ok(bin_ref.to_binary()) | ^^^^^^^^^ method not found in `RawBinaryRef<'_>` error[E0599]: no method named `to_binary` found for struct `RawBinaryRef` in the current scope --> src/client/csfle/client_encryption.rs:189:20 | 189 | Ok(bin_ref.to_binary()) | ^^^^^^^^^ method not found in `RawBinaryRef<'_>`