You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Zlib](https://zlib.net), and [Bzip2](http://www.bzip.org) compression
35
-
is enabled through crate features. If support for all of these compression
37
+
is enabled through crate features. If support for all of these compression
36
38
algorithms is not needed, default features can be disabled and specific
37
39
compression algorithms can be enabled. For example, to enable only LZ4
38
40
compression support, make these changes to your Cargo.toml:
39
41
40
-
```
42
+
```toml
41
43
[dependencies.rocksdb]
42
44
default-features = false
43
45
features = ["lz4"]
44
46
```
45
47
46
48
## Multithreaded ColumnFamily alternation
47
49
48
-
The underlying RocksDB does allow column families to be created and dropped
49
-
from multiple threads concurrently. But this crate doesn't allow it by default
50
+
RocksDB allows column families to be created and dropped
51
+
from multiple threads concurrently, but this crate doesn't allow it by default
50
52
for compatibility. If you need to modify column families concurrently, enable
51
-
crate feature called`multi-threaded-cf`, which makes this binding's
52
-
data structures to use RwLock by default. Alternatively, you can directly create
53
+
the crate feature `multi-threaded-cf`, which makes this binding's
54
+
data structures use `RwLock` by default. Alternatively, you can directly create
53
55
`DBWithThreadMode<MultiThreaded>` without enabling the crate feature.
56
+
57
+
## Switch between /MT or /MD run time library (Only for Windows)
58
+
59
+
The feature `mt_static` will request the library to be built with [/MT](https://learn.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=msvc-170)
60
+
flag, which results in library using the static version of the run-time library.
61
+
*This can be useful in case there's a conflict in the dependecy tree between different
0 commit comments