Cargo Features

[dependencies]
mem-ring = { version = "0.2.0", default-features = false, features = ["tpc", "monoio", "tokio"] }
default = monoio, tpc

How to enable the feature:
1. If you use tokio:
disable default features and only enable tokio
2. If you use monoio but want to produce on multiple threads with one queue:
disable default features and only enable monoio
3. If you use monoio and only access queue on current thread:
which means you have to create queue for each thread that want to procude enable monoio and tpc which is by default
For more comparing, you can refer to the doc.

tpc default
monoio default

Enables local-sync and monoio

monoio:

Monoio

Affects util::yield_now

tokio

Enables tokio

Tokio