# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "diamond-types" version = "1.0.0" exclude = [ ".idea", ".vscode", "vis", "wiki", "js", "benchmark_data", "test_data", ".github", ] description = "The world's fastest text CRDT" readme = "README.md" license = "ISC" resolver = "2" [profile.release] lto = true codegen-units = 1 [profile.release.package.diamond-cli] opt-level = "z" [profile.release.package.diamond-wasm] opt-level = 2 [lib] bench = false [[bench]] name = "core" harness = false [dependencies.content-tree] version = "0.2.0" [dependencies.crc] version = "2.1.0" [dependencies.humansize] version = "1.1.1" [dependencies.jumprope] version = "1.0.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.lz4_flex] version = "0.9.2" optional = true [dependencies.num_enum] version = "0.5.6" [dependencies.rle] version = "0.2.0" [dependencies.serde_crate] version = "1.0.136" features = ["derive"] optional = true package = "serde" [dependencies.smallvec] version = "1.8.0" features = [ "union", "const_generics", ] [dependencies.smartstring] version = "1.0.0" [dependencies.str_indices] version = "0.3.1" [dev-dependencies.criterion] version = "0.3.5" [dev-dependencies.rand] version = "0.8.5" features = ["small_rng"] [features] default = ["lz4"] dot_export = [] inlinerope = [] lz4 = ["lz4_flex"] serde = [ "serde_crate", "smallvec/serde", "smartstring/serde", ] wchar_conversion = ["jumprope/wchar_conversion"]