# 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"
name = "endbasic-std"
version = "0.12.0"
authors = ["Julio Merino <jmmv@endbasic.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The EndBASIC programming language - standard library"
homepage = "https://www.endbasic.dev/"
readme = "README.md"
keywords = [
    "basic",
    "interpreter",
    "learning",
    "programming",
]
categories = [
    "development-tools",
    "parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/endbasic/endbasic"

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

[[example]]
name = "script-runner"
path = "examples/script-runner.rs"

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

[dependencies.async-channel]
version = "2.2"

[dependencies.async-trait]
version = "0.1"

[dependencies.endbasic-core]
version = "0.12.0"

[dependencies.futures-lite]
version = "2.2"

[dependencies.getrandom]
version = "0.2"
features = ["js"]

[dependencies.radix_trie]
version = "0.2"

[dependencies.rand]
version = "0.8"
features = [
    "small_rng",
    "std",
    "std_rng",
]
default-features = false

[dependencies.thiserror]
version = "1.0"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "local-offset",
    "std",
]

[dev-dependencies.filetime]
version = "0.2"

[dev-dependencies.flate2]
version = "1.0"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[lints.clippy]
await_holding_refcell_ref = "allow"
collapsible_else_if = "allow"

[lints.rust]
anonymous_parameters = "warn"
bad_style = "warn"
missing_docs = "warn"
unsafe_code = "warn"
unused = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"
