[package]
name = "fresh-core"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
description = "Core types and utilities for the Fresh editor"

[dependencies]
serde.workspace = true
serde_json.workspace = true
schemars.workspace = true
anyhow.workspace = true
lsp-types.workspace = true
ts-rs.workspace = true
crossterm = { workspace = true, optional = true }
rquickjs = { workspace = true, optional = true }
rquickjs-serde = { workspace = true, optional = true }

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