stellar / rs-stellar-xdr

Rust lib for Stellar XDR.
Apache License 2.0
19 stars 27 forks source link

Make possible to use alloc feature with a custom allocator #39

Open leighmcculloch opened 2 years ago

leighmcculloch commented 2 years ago

Similar to #38 there's value in us providing use of this lib in situations where alloc isn't available or the heap isn't ideal to use.

This isn't urgent to do now, but something that would be nice to do.

leighmcculloch commented 2 years ago

Two challenges with this:

leighmcculloch commented 2 years ago

As a follow on from https://github.com/stellar/rs-stellar-xdr/pull/44, this issue is being repurposed to change the alloc feature so it is possible to use the default global allocator, or provide your own allocator.