# 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 = "2024"
rust-version = "1.88"
name = "armature-collab"
version = "0.1.1"
authors = ["Pegasus Heavy Industries LLC"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Real-time collaboration with CRDTs and Operational Transformation for Armature framework"
homepage = "https://pegasusheavy.github.io/armature"
readme = false
keywords = [
    "crdt",
    "collaboration",
    "real-time",
    "ot",
    "sync",
]
categories = [
    "data-structures",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/pegasusheavy/armature"
resolver = "2"

[features]
default = ["text"]
full = [
    "text",
    "websocket",
]
text = ["ropey"]
websocket = ["armature-websocket"]

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

[dependencies.armature-core]
version = "0.2.0"

[dependencies.armature-log]
version = "0.1.0"

[dependencies.armature-websocket]
version = "0.2.0"
optional = true

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1.5"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dashmap]
version = "6.0"

[dependencies.parking_lot]
version = "0.12"

[dependencies.ropey]
version = "1.6"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.35"
features = [
    "rt-multi-thread",
    "sync",
    "time",
]

[dependencies.uuid]
version = "1.8"
features = [
    "v4",
    "serde",
]

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

[dev-dependencies.tokio-test]
version = "0.4"
