diff --git a/Cargo.lock b/Cargo.lock index 39ed07c1..148b2cf1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -852,7 +852,7 @@ dependencies = [ [[package]] name = "loro" -version = "0.4.0" +version = "0.5.0" dependencies = [ "ctor 0.2.6", "dev-utils", @@ -867,7 +867,7 @@ dependencies = [ [[package]] name = "loro-common" -version = "0.4.0" +version = "0.5.0" dependencies = [ "arbitrary", "enum-as-inner 0.6.0", @@ -884,7 +884,7 @@ dependencies = [ [[package]] name = "loro-delta" -version = "0.1.0" +version = "0.5.0" dependencies = [ "arrayvec", "color-backtrace", @@ -900,7 +900,7 @@ dependencies = [ [[package]] name = "loro-internal" -version = "0.4.0" +version = "0.5.0" dependencies = [ "append-only-bytes", "arbitrary", @@ -949,7 +949,7 @@ dependencies = [ [[package]] name = "loro-rle" -version = "0.4.0" +version = "0.5.0" dependencies = [ "append-only-bytes", "arref", diff --git a/crates/delta/Cargo.toml b/crates/delta/Cargo.toml index 199211ae..6d3dc0c9 100644 --- a/crates/delta/Cargo.toml +++ b/crates/delta/Cargo.toml @@ -1,7 +1,14 @@ [package] name = "loro-delta" -version = "0.1.0" +version = "0.5.0" edition = "2021" +license = "MIT" +description = "Loro internal library. It's used as a delta between two versions of text or lists. It's also an efficient Rope." +homepage = "https://loro.dev" +authors = ["Zixuan Chen", "Liang Zhao"] +categories = ["data-structures", "text-editing"] +keywords = ["rope"] + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/delta/LICENSE b/crates/delta/LICENSE new file mode 100644 index 00000000..afe68a41 --- /dev/null +++ b/crates/delta/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Loro + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/crates/loro-common/Cargo.toml b/crates/loro-common/Cargo.toml index 671be0c0..8b26795a 100644 --- a/crates/loro-common/Cargo.toml +++ b/crates/loro-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "loro-common" -version = "0.4.0" +version = "0.5.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.4.0", package = "loro-rle" } +rle = { path = "../rle", version = "0.5.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-internal/Cargo.toml b/crates/loro-internal/Cargo.toml index 0fb9f711..f7a8f8fa 100644 --- a/crates/loro-internal/Cargo.toml +++ b/crates/loro-internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "loro-internal" -version = "0.4.0" +version = "0.5.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] -loro-delta = { path = "../delta", package = "loro-delta" } -rle = { path = "../rle", version = "0.4.0", package = "loro-rle" } -loro-common = { path = "../loro-common", version = "0.4.0" } +loro-delta = { path = "../delta", version = "0.5.0", package = "loro-delta" } +rle = { path = "../rle", version = "0.5.0", package = "loro-rle" } +loro-common = { path = "../loro-common", version = "0.5.0" } smallvec = { version = "1.8.0", features = ["serde"] } postcard = "1" fxhash = { workspace = true } diff --git a/crates/loro/Cargo.toml b/crates/loro/Cargo.toml index bf8343cb..a4b2df6b 100644 --- a/crates/loro/Cargo.toml +++ b/crates/loro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "loro" -version = "0.4.0" +version = "0.5.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.4.0" } +loro-internal = { path = "../loro-internal", version = "0.5.0" } generic-btree = { version = "0.10.4" } enum-as-inner = "0.6.0" either = "1.9.0" diff --git a/crates/rle/Cargo.toml b/crates/rle/Cargo.toml index 5d510ee9..f903b617 100644 --- a/crates/rle/Cargo.toml +++ b/crates/rle/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "loro-rle" -version = "0.4.0" +version = "0.5.0" edition = "2021" license = "MIT" description = "A internal library of loro for storing and manipulating run-length encoded data. Do not use it directly."