flatbuffers-pool 0.1.2

FlatBufferBuilder pool
docs.rs failed to build flatbuffers-pool-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: flatbuffers-pool-0.1.3

flatbuffers-pool

crate docs

RAII based FlatBufferBuilder pool.

Examples

Global pool:

use flatbuffers_pool::FlatBufferBuilderPool;

let mut b = FlatBufferBuilderPool::get();
let name = b.create_string("something fun");
b.finish(name, None);

Local pool:

use flatbuffers_pool::FlatBufferBuilderPool;

let mut pool = FlatBufferBuilderPool::new().build();
let mut b = pool.get();
let name = b.create_string("something fun");
b.finish(name, None);