[package] name = "y-octo" version = "0.0.1" authors = [ "DarkSky ", "forehalo ", "x1a0t <405028157@qq.com>", "Brooklyn ", ] edition = "2021" license = "MIT" description = "High-performance and thread-safe CRDT implementation compatible with Yjs" homepage = "https://github.com/toeverything/y-octo" repository = "https://github.com/toeverything/y-octo" keywords = ["collaboration", "crdt", "crdts", "yjs", "yata"] include = ["src/**/*", "benches/**/*", "bin/**/*", "LICENSE", "README.md"] readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] bitvec = "1.0" byteorder = "1.4" log = "0.4" nanoid = "0.4" nom = "7.1" ordered-float = "3.8" rand = "0.8" rand_chacha = "0.3" serde = "1.0" serde_json = "1.0" thiserror = "1.0" [features] bench = [] [target.'cfg(fuzzing)'.dependencies] arbitrary = { version = "1.3", features = ["derive"] } ordered-float = { version = "3.8", features = ["arbitrary"] } [target.'cfg(loom)'.dependencies] loom = { version = "0.6", features = ["checkpoint"] } [dev-dependencies] assert-json-diff = "2.0" criterion = { version = "0.5", features = ["html_reports"] } lib0 = { version = "0.16", features = ["lib0-serde"] } ordered-float = { version = "3.8", features = ["proptest"] } path-ext = "0.1" proptest = "1.1" proptest-derive = "0.3" y-sync = "=0.3.0" yrs = "=0.16.5" [[bin]] name = "memory_leak_test" path = "bin/memory_leak_test.rs" [[bench]] name = "array_ops_benchmarks" harness = false [[bench]] name = "codec_benchmarks" harness = false [[bench]] name = "map_ops_benchmarks" harness = false [[bench]] name = "text_ops_benchmarks" harness = false [[bench]] name = "update_benchmarks" harness = false [lib] bench = true