inejge / ldap3

A pure-Rust LDAP library using the Tokio stack
Apache License 2.0
226 stars 39 forks source link

Use std library for byteorder. #37

Closed kaj closed 1 year ago

kaj commented 5 years ago

This is (part of) an attempt to help bringing the ldap3 crate more up-to-date with the rest of the rust community.

The external byteorder crate is no longer needed, since std integer types provides to_be_bytes() and similar methods since rustc 1.32.

inejge commented 4 years ago

Thanks for the PR, and sorry for the delay. As you see, recent changes have scrambled the diffs. If you're still interested, could you try reworking the PR against the new code? I see that you've been changing the internals of integer encoding, and I'm always apprehensive about touching that code, although I know it's ancient and ripe for a rewrite.