[[bin]]
bench = false
doc = false
name = "teamtype"
path = "src/main.rs"
required-features = ["executable-deps"]
test = false
[build-dependencies.clap]
features = ["derive", "env"]
version = "4"
[build-dependencies.clap_complete]
version = "4"
[build-dependencies.clap_mangen]
version = "0.2"
[dependencies.anyhow]
version = "1.0.81"
[dependencies.async-trait]
version = "0.1.88"
[dependencies.automerge]
version = "1.0.0-beta.3"
[dependencies.clap]
features = ["derive", "env"]
optional = true
version = "4.5.3"
[dependencies.constant_time_eq]
version = "0.3.1"
[dependencies.derive_more]
features = ["as_ref", "deref", "display"]
version = "2.0.1"
[dependencies.dissimilar]
version = "1.0.9"
[dependencies.futures]
default-features = false
version = "0.3.30"
[dependencies.git2]
default-features = false
version = "0.20.2"
[dependencies.ignore]
version = "0.4.22"
[dependencies.iroh]
version = "0.35.0"
[dependencies.magic-wormhole]
version = "0.7.6"
[dependencies.notify]
default-features = false
features = ["macos_fsevent"]
version = "8.0.0"
[dependencies.operational-transform]
version = "0.6.1"
[dependencies.path-clean]
version = "1.0.1"
[dependencies.postcard]
features = ["alloc"]
version = "1.1.1"
[dependencies.rand]
version = "0.8.5"
[dependencies.ropey]
version = "1.6.1"
[dependencies.rust-ini]
version = "0.21.1"
[dependencies.serde]
features = ["derive"]
version = "1.0.198"
[dependencies.serde_json]
version = "1"
[dependencies.temp-dir]
version = "0.1.13"
[dependencies.time]
features = ["formatting"]
version = "0.3.36"
[dependencies.tokio]
features = ["rt", "io-std", "io-util", "macros", "net", "time"]
version = "1"
[dependencies.tokio-util]
features = ["codec"]
version = "0.7.11"
[dependencies.tracing]
version = "0.1.40"
[dependencies.tracing-subscriber]
default-features = false
features = ["ansi", "fmt", "time", "env-filter"]
version = "0.3.18"
[dependencies.url]
version = "2.5.7"
[dev-dependencies.pretty_assertions]
version = "1.4.0"
[dev-dependencies.tracing-test]
version = "0.2.4"
[features]
default = ["executable-deps"]
executable-deps = ["dep:clap", "tokio/signal", "tokio/rt-multi-thread"]
[lib]
name = "teamtype"
path = "src/lib.rs"
[lints.clippy]
allow_attributes = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
cognitive_complexity = "allow"
map_with_unused_argument_over_ranges = "warn"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
should_panic_without_expect = "allow"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
unused_qualifications = "warn"
[package]
authors = ["Moritz Neeb <nt4u@kpvn.de>", "blinry <mail@blinry.org>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["command-line-utilities", "text-editors"]
default-run = "teamtype"
description = "Enables real-time co-editing of local text files."
documentation = "https://teamtype.github.io"
edition = "2021"
keywords = ["collaboration", "local-first", "synchronization", "crdt", "peer-to-peer"]
license = "AGPL-3.0-or-later"
name = "teamtype"
readme = "README.md"
repository = "https://github.com/teamtype/teamtype"
rust-version = "1.81.0"
version = "0.9.0"
[profile.release]
opt-level = 3
strip = true
[profile.release-lto]
codegen-units = 1
inherits = "release"
lto = true
[profile.release-size]
codegen-units = 1
inherits = "release"
lto = true
opt-level = "s"