diff --git a/README.md b/README.md index 0c88b61..1477e12 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,6 @@ import cdcdb; import std.stdio : writeln, File; import std.file : exists, remove; -import zstd : Level; void main() { @@ -51,7 +50,7 @@ void main() string dbPath = "example.db"; // Initialize Storage with Zstd compression - auto storage = new Storage(dbPath, true, Level.speed); + auto storage = new Storage(dbPath, true, 22); // Create a snapshot ubyte[] data = cast(ubyte[]) "Hello, cdcdb!".dup; diff --git a/README.ru.md b/README.ru.md index 530aba1..fda9f70 100644 --- a/README.ru.md +++ b/README.ru.md @@ -43,7 +43,6 @@ import cdcdb; import std.stdio : writeln, File; import std.file : exists, remove; -import zstd : Level; void main() { @@ -51,7 +50,7 @@ void main() string dbPath = "example.db"; // Инициализация Storage с компрессией Zstd - auto storage = new Storage(dbPath, true, Level.speed); + auto storage = new Storage(dbPath, true, 22); // Создание снимка ubyte[] data = cast(ubyte[]) "Hello, cdcdb!".dup;