nepali-core 0.1.0

Nepali programming language core: lexer, parser, AST, interpreter
# 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 = "nepali-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nepali programming language core: lexer, parser, AST, interpreter"
readme = false
license = "MIT"

[features]
ai-interop = [
    "dep:candle-core",
    "dep:candle-nn",
    "dep:candle-transformers",
    "dep:tokenizers",
    "dep:hound",
    "dep:serde_json",
    "dep:pyo3",
]
cache = ["dep:redis"]
default = [
    "python-interop",
    "rust-interop",
    "js-interop",
    "cache",
]
js-interop = [
    "dep:rquickjs",
    "dep:swc_core",
]
python-interop = ["dep:pyo3"]
rust-interop = [
    "dep:libloading",
    "dep:nepali-plugin-abi",
]
wasm = ["wasm-bindgen"]

[lib]
name = "nepali_core"
crate-type = ["rlib"]
path = "src/lib.rs"

[[bin]]
name = "nepali-core-cli"
path = "src/cli/main.rs"

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

[dependencies.candle-core]
version = "0.8"
optional = true

[dependencies.candle-nn]
version = "0.8"
optional = true

[dependencies.candle-transformers]
version = "0.8"
optional = true

[dependencies.hound]
version = "3.5"
optional = true

[dependencies.libloading]
version = "0.8"
optional = true

[dependencies.nepali-plugin-abi]
version = "0.1.0"
optional = true

[dependencies.pyo3]
version = "0.22"
features = ["auto-initialize"]
optional = true

[dependencies.redis]
version = "0.27"
optional = true

[dependencies.rquickjs]
version = "0.6"
features = ["full"]
optional = true

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.swc_core]
version = "79"
features = [
    "common",
    "ecma_ast",
    "ecma_parser",
    "ecma_codegen",
    "ecma_transforms_typescript",
    "ecma_visit",
]
optional = true

[dependencies.tokenizers]
version = "0.20"
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true