# 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 = "sage-lang"
version = "2.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A programming language where agents are first-class citizens"
readme = false
license = "MIT"
repository = "https://github.com/sagelang/sage"

[[bin]]
name = "sage"
path = "src/main.rs"

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

[dependencies.console]
version = "0.15"

[dependencies.dotenvy]
version = "0.15"

[dependencies.indicatif]
version = "0.17"

[dependencies.miette]
version = "7"
features = ["fancy"]

[dependencies.sage-checker]
version = "2.0.1"

[dependencies.sage-codegen]
version = "2.0.1"

[dependencies.sage-loader]
version = "2.0.1"

[dependencies.sage-package]
version = "2.0.1"

[dependencies.sage-parser]
version = "2.0.1"

[dependencies.sage-sense]
version = "2.0.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

[dependencies.toml_edit]
version = "0.22"

[dependencies.walkdir]
version = "2"

[lints.clippy]
approx_constant = "allow"
collapsible_match = "allow"
ptr_arg = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"
