# 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"
rust-version = "1.70"
name = "crdt-kit"
version = "0.4.0-beta.1"
authors = ["abdielLopezpy"]
build = false
exclude = [
    "benches/",
    ".github/",
    "*.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CRDTs optimized for edge computing and local-first applications"
homepage = "https://github.com/crdt-kit/crdt-kit"
documentation = "https://docs.rs/crdt-kit"
readme = "README.md"
keywords = [
    "crdt",
    "edge-computing",
    "local-first",
    "offline",
    "distributed",
]
categories = [
    "data-structures",
    "algorithms",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crdt-kit/crdt-kit"

[features]
default = ["std"]
serde = ["dep:serde"]
std = []
wasm = [
    "dep:wasm-bindgen",
    "dep:js-sys",
]

[lib]
name = "crdt_kit"
path = "src/lib.rs"

[[example]]
name = "chat"
path = "examples/chat.rs"

[[example]]
name = "counter"
path = "examples/counter.rs"

[[example]]
name = "ecommerce"
path = "examples/ecommerce.rs"

[[example]]
name = "todo_list"
path = "examples/todo_list.rs"

[[test]]
name = "convergence"
path = "tests/convergence.rs"

[[test]]
name = "proptest_crdts"
path = "tests/proptest_crdts.rs"

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dev-dependencies.automerge]
version = "0.7"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.yrs]
version = "0.25"
