# 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.80"
name = "telarex-core"
version = "0.5.0-beta"
authors = ["TelaRex Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal-based collaborative text editor with P2P sync and post-quantum security"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/cristiano-s-r-filho/telarex"

[features]
clipboard = ["arboard"]
default = []
git = ["git2"]
lsp = []

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.arboard]
version = "3.4"
optional = true

[dependencies.automerge]
version = "0.8"

[dependencies.directories]
version = "6.0"

[dependencies.futures]
version = "0.3"

[dependencies.git2]
version = "0.19"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.libp2p]
version = "0.56"
features = [
    "tokio",
    "noise",
    "yamux",
    "tcp",
    "mdns",
    "gossipsub",
    "mdns",
    "noise",
    "tcp",
    "yamux",
    "tokio",
    "macros",
    "request-response",
    "identify",
    "kad",
    "ping",
]

[dependencies.log]
version = "0.4"

[dependencies.pqc_dilithium]
version = "0.2"
features = ["mode2"]

[dependencies.rand]
version = "0.8"

[dependencies.ratatui]
version = "0.30"
features = [
    "crossterm",
    "serde",
    "layout-cache",
]
default-features = false

[dependencies.ropey]
version = "1.6"

[dependencies.rusqlite]
version = "0.32"
features = [
    "bundled",
    "uuid",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.47"
features = ["full"]

[dependencies.toml]
version = "1.1"

[dependencies.tree-sitter]
version = "0.24"

[dependencies.tree-sitter-css]
version = "0.23"

[dependencies.tree-sitter-highlight]
version = "0.24"

[dependencies.tree-sitter-html]
version = "0.23"

[dependencies.tree-sitter-javascript]
version = "0.23"

[dependencies.tree-sitter-json]
version = "0.24"

[dependencies.tree-sitter-md]
version = "0.3"

[dependencies.tree-sitter-python]
version = "0.23"

[dependencies.tree-sitter-rust]
version = "0.23"

[dependencies.tree-sitter-toml-ng]
version = "0.7"

[dependencies.tree-sitter-typescript]
version = "0.23"

[dependencies.tree-sitter-yaml]
version = "0.7"

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

[dependencies.walkdir]
version = "2.5"

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

[dev-dependencies.tempfile]
version = "3.10"
