# 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 = "fresh-editor"
version = "0.1.7"
authors = ["Noam Lewis"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, fast terminal-based text editor with LSP support and TypeScript plugins"
readme = "README.md"
keywords = [
    "editor",
    "terminal",
    "tui",
    "text-editor",
    "lsp",
]
categories = [
    "command-line-utilities",
    "text-editors",
]
license = "GPL-2.0"
repository = "https://github.com/sinelaw/fresh"

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

[[bin]]
name = "fresh"
path = "src/main.rs"

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.arboard]
version = "3.6"

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

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.crossterm]
version = "0.29.0"
features = ["osc52"]

[dependencies.ctrlc]
version = "3.5"

[dependencies.deno_ast]
version = "0.51.0"
features = ["transpiling"]

[dependencies.deno_core]
version = "0.272.0"
default-features = false

[dependencies.dirs]
version = "6.0"

[dependencies.ignore]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.lru]
version = "0.16"

[dependencies.lsp-types]
version = "0.97"

[dependencies.nix]
version = "0.30"
features = [
    "signal",
    "pthread",
    "resource",
]

[dependencies.notify]
version = "8.2.0"

[dependencies.pulldown-cmark]
version = "0.13"

[dependencies.ratatui]
version = "0.29.0"

[dependencies.regex]
version = "1.12"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.48"
features = [
    "rt",
    "rt-multi-thread",
    "io-util",
    "sync",
    "process",
    "time",
    "macros",
    "fs",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

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

[dependencies.tree-sitter-bash]
version = "0.25.0"

[dependencies.tree-sitter-c]
version = "0.24.1"

[dependencies.tree-sitter-c-sharp]
version = "0.23.1"

[dependencies.tree-sitter-cpp]
version = "0.23.4"

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

[dependencies.tree-sitter-go]
version = "0.25.0"

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

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

[dependencies.tree-sitter-java]
version = "0.23.5"

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

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

[dependencies.tree-sitter-lua]
version = "0.2.0"

[dependencies.tree-sitter-php]
version = "0.24.2"

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

[dependencies.tree-sitter-ruby]
version = "0.23.1"

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

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

[dependencies.url]
version = "2.5"

[dev-dependencies.insta]
version = "1.44"
features = ["yaml"]

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

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

[dev-dependencies.vt100]
version = "0.15"

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
debug = 2
