# 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 = "erg"
version = "0.6.2-nightly.0"
authors = ["erg-lang team <moderation.erglang@gmail.com>"]
build = "build.rs"
description = "The Erg programming language"
homepage = "https://erg-lang.org/"
documentation = "https://docs.rs/erg"
readme = "README.md"
keywords = [
    "erg",
    "programming-language",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/erg-lang/erg"

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

[dependencies.els]
version = "0.1.14-nightly.0"
optional = true

[dependencies.erg_common]
version = "0.6.2-nightly.0"

[dependencies.erg_compiler]
version = "0.6.2-nightly.0"

[dependencies.erg_parser]
version = "0.6.2-nightly.0"

[build-dependencies.erg_common]
version = "0.6.2-nightly.0"

[features]
debug = [
    "erg_common/debug",
    "erg_parser/debug",
    "erg_compiler/debug",
    "els/debug",
]
els = [
    "erg_common/els",
    "erg_compiler/els",
    "dep:els",
]
japanese = [
    "erg_common/japanese",
    "erg_parser/japanese",
    "erg_compiler/japanese",
    "els/japanese",
]
large_thread = [
    "erg_common/large_thread",
    "erg_parser/large_thread",
    "erg_compiler/large_thread",
    "els/large_thread",
]
pre-commit = []
pretty = [
    "erg_common/pretty",
    "erg_parser/pretty",
    "erg_compiler/pretty",
    "els/pretty",
]
py_compatible = [
    "erg_compiler/py_compatible",
    "els/py_compatible",
]
simplified_chinese = [
    "erg_common/simplified_chinese",
    "erg_parser/simplified_chinese",
    "erg_compiler/simplified_chinese",
    "els/simplified_chinese",
]
traditional_chinese = [
    "erg_common/traditional_chinese",
    "erg_parser/traditional_chinese",
    "erg_compiler/traditional_chinese",
    "els/traditional_chinese",
]
unicode = [
    "erg_common/unicode",
    "erg_parser/unicode",
    "erg_compiler/unicode",
    "els/unicode",
]
