Added docs feature
This commit adds doc as a feature and makes doc.rs build the docs with
it.
@@ -33,6 +33,7 @@ no_inline = []
measure_allocs = []
pretty_backtrace = ["color-backtrace"]
io_uring = ["rio"]
+docs = []
[dependencies]
crossbeam-epoch = "0.8.0"
@@ -64,6 +65,9 @@ fail = "0.3.0"
zerocopy = "0.3.0"
byteorder = "1.3.4"
+[package.metadata.docs.rs]
+features = ["docs"]
+
[[test]]
name = "test_crash_recovery"
path = "tests/test_crash_recovery.rs"
