# 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-core"
version = "0.1.97"
authors = ["Noam Lewis"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and utilities for the Fresh editor"
homepage = "https://sinelaw.github.io/fresh/"
readme = false
license = "GPL-2.0"
repository = "https://github.com/sinelaw/fresh"

[features]
plugins = [
    "dep:crossterm",
    "dep:rquickjs",
    "dep:rquickjs-serde",
]

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

[dependencies.anyhow]
version = "1.0.100"
default-features = false

[dependencies.crossterm]
version = "0.29"
optional = true

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

[dependencies.rquickjs]
version = "0.11"
features = [
    "bindgen",
    "futures",
    "macro",
]
optional = true

[dependencies.rquickjs-serde]
version = "0.4"
optional = true

[dependencies.schemars]
version = "1.2"
features = ["preserve_order"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.ts-rs]
version = "11.1"
features = ["serde_json"]
