# 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 = "2024"
rust-version = "1.87.0"
name = "falsec"
version = "0.1.7"
authors = ["Maxi <maxi.barmetler@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "falsec"
description = """
An interpreter and compiler for the esotheric programming language FALSE.
"""
homepage = "https://github.com/MixusMinimax/falsec"
readme = "README.md"
keywords = ["false"]
categories = [
    "compilers",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/MixusMinimax/falsec"
resolver = "2"

[features]
completions = ["dep:clap_complete"]
default = ["runtime"]
runtime = [
    "dep:falsec-types",
    "dep:falsec-parser",
    "dep:falsec-interpreter",
    "dep:falsec-analyzer",
    "dep:falsec-compiler",
    "dep:serde",
    "dep:toml",
    "dep:json5",
    "dep:serde_json",
    "dep:serde_yaml",
    "falsec-types/serde",
]

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

[[bin]]
name = "falsec"
path = "src/main.rs"
required-features = ["runtime"]

[[bin]]
name = "falsec-print-completions"
path = "src/bin/print_completions.rs"
required-features = ["completions"]

[dependencies.anstyle]
version = "1.0.10"

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

[dependencies.clap_complete]
version = "4.5"
optional = true

[dependencies.falsec-analyzer]
version = "0.1.2"
optional = true

[dependencies.falsec-compiler]
version = "0.1.2"
optional = true

[dependencies.falsec-interpreter]
version = "0.1.4"
optional = true

[dependencies.falsec-parser]
version = "0.1.2"
optional = true

[dependencies.falsec-types]
version = "0.1.1"
optional = true

[dependencies.json5]
version = "1.3.0"
optional = true

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

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
optional = true

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.toml]
version = "0.9.11"
optional = true
