diff --git a/Cargo.lock b/Cargo.lock index 94ba4ceb..b513829f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -785,7 +785,7 @@ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "loro" -version = "0.3.0" +version = "0.4.0" dependencies = [ "either", "enum-as-inner 0.6.0", @@ -795,7 +795,7 @@ dependencies = [ [[package]] name = "loro-common" -version = "0.2.0" +version = "0.4.0" dependencies = [ "arbitrary", "enum-as-inner 0.6.0", @@ -812,7 +812,7 @@ dependencies = [ [[package]] name = "loro-internal" -version = "0.3.0" +version = "0.4.0" dependencies = [ "append-only-bytes", "arbitrary", @@ -863,7 +863,7 @@ dependencies = [ [[package]] name = "loro-preload" -version = "0.2.0" +version = "0.4.0" dependencies = [ "bytes", "loro-common", @@ -873,7 +873,7 @@ dependencies = [ [[package]] name = "loro-rle" -version = "0.2.0" +version = "0.4.0" dependencies = [ "append-only-bytes", "arref", diff --git a/Cargo.toml b/Cargo.toml index 598f0308..49f8b740 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ members = [ "crates/loro-wasm", "crates/fuzz", ] +resolver = "2" [workspace.dependencies] enum_dispatch = "0.3.11" diff --git a/crates/bench-utils/Cargo.toml b/crates/bench-utils/Cargo.toml index 5a5874da..2677eebb 100644 --- a/crates/bench-utils/Cargo.toml +++ b/crates/bench-utils/Cargo.toml @@ -2,6 +2,7 @@ name = "bench-utils" version = "0.1.0" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/examples/Cargo.toml b/crates/examples/Cargo.toml index b497c5de..518c748f 100644 --- a/crates/examples/Cargo.toml +++ b/crates/examples/Cargo.toml @@ -2,6 +2,7 @@ name = "examples" version = "0.1.0" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/fuzz/Cargo.toml b/crates/fuzz/Cargo.toml index b794ed8a..c1c6ac27 100644 --- a/crates/fuzz/Cargo.toml +++ b/crates/fuzz/Cargo.toml @@ -2,6 +2,7 @@ name = "fuzz" version = "0.1.0" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/loro-common/Cargo.toml b/crates/loro-common/Cargo.toml index 9c236315..671be0c0 100644 --- a/crates/loro-common/Cargo.toml +++ b/crates/loro-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "loro-common" -version = "0.2.0" +version = "0.4.0" edition = "2021" license = "MIT" description = "Common types and functions for Loro. This is an internal lib of Loro." @@ -15,7 +15,7 @@ keywords = ["crdt", "local-first"] [dependencies] serde = { version = "1", features = ["derive"] } thiserror = "1.0.43" -rle = { path = "../rle", version = "0.2.0", package = "loro-rle" } +rle = { path = "../rle", version = "0.4.0", package = "loro-rle" } wasm-bindgen = { version = "=0.2.90", optional = true } fxhash = "0.2.1" enum-as-inner = "0.6.0" diff --git a/crates/loro-ffi/Cargo.toml b/crates/loro-ffi/Cargo.toml index 89796e00..b461e8cf 100644 --- a/crates/loro-ffi/Cargo.toml +++ b/crates/loro-ffi/Cargo.toml @@ -4,6 +4,7 @@ version = "0.1.0" edition = "2021" build = "build.rs" license = "MIT" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/loro-internal/Cargo.toml b/crates/loro-internal/Cargo.toml index a6240a1f..329eadfd 100644 --- a/crates/loro-internal/Cargo.toml +++ b/crates/loro-internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "loro-internal" -version = "0.3.0" +version = "0.4.0" edition = "2021" license = "MIT" description = "Loro internal library. Do not use it directly as it's not stable." @@ -13,9 +13,9 @@ keywords = ["crdt", "local-first"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rle = { path = "../rle", version = "0.2.0", package = "loro-rle" } -loro-preload = { path = "../loro-preload", version = "0.2.0" } -loro-common = { path = "../loro-common", version = "0.2.0" } +rle = { path = "../rle", version = "0.4.0", package = "loro-rle" } +loro-preload = { path = "../loro-preload", version = "0.4.0" } +loro-common = { path = "../loro-common", version = "0.4.0" } smallvec = { version = "1.8.0", features = ["serde"] } postcard = "1" fxhash = { workspace = true } diff --git a/crates/loro-preload/Cargo.toml b/crates/loro-preload/Cargo.toml index 6b210d62..11ab7a8e 100644 --- a/crates/loro-preload/Cargo.toml +++ b/crates/loro-preload/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "loro-preload" -version = "0.2.0" +version = "0.4.0" edition = "2021" license = "MIT" description = "Loro internal lib for loading data" @@ -15,5 +15,5 @@ keywords = ["crdt", "local-first"] [dependencies] serde = { version = "1", features = ["derive"] } serde_columnar = { workspace = true } -loro-common = { path = "../loro-common", version = "0.2.0" } +loro-common = { path = "../loro-common", version = "0.4.0" } bytes = "1.4.0" diff --git a/crates/loro-python/Cargo.toml b/crates/loro-python/Cargo.toml index 720dbc51..88efff89 100644 --- a/crates/loro-python/Cargo.toml +++ b/crates/loro-python/Cargo.toml @@ -3,6 +3,7 @@ name = "pyloro" version = "0.1.0" edition = "2021" license = "MIT" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/loro-wasm/Cargo.toml b/crates/loro-wasm/Cargo.toml index 3551c151..49b931c6 100644 --- a/crates/loro-wasm/Cargo.toml +++ b/crates/loro-wasm/Cargo.toml @@ -2,6 +2,7 @@ name = "loro-wasm" version = "0.1.0" edition = "2021" +publish = false [lib] crate-type = ["cdylib", "rlib"] diff --git a/crates/loro/Cargo.toml b/crates/loro/Cargo.toml index 9f731d9e..5dbcaa1e 100644 --- a/crates/loro/Cargo.toml +++ b/crates/loro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "loro" -version = "0.3.0" +version = "0.4.0" edition = "2021" license = "MIT" documentation = "https://docs.rs/loro/" @@ -13,7 +13,7 @@ keywords = ["crdt", "local-first"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -loro-internal = { path = "../loro-internal", version = "0.3.0" } +loro-internal = { path = "../loro-internal", version = "0.4.0" } enum-as-inner = "0.6.0" either = "1.9.0" diff --git a/crates/rle/Cargo.toml b/crates/rle/Cargo.toml index e5ff95df..2cdd0de5 100644 --- a/crates/rle/Cargo.toml +++ b/crates/rle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "loro-rle" -version = "0.2.0" +version = "0.4.0" edition = "2021" license = "MIT" description = "A internal library of loro for storing and manipulating run-length encoded data. Do not use it directly."