# 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 = "shik"
version = "0.6.2"
authors = ["pungy"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A functional scripting language for shell automation"
homepage = "https://github.com/pungy/shik"
readme = "README.md"
keywords = [
    "shell",
    "scripting",
    "functional",
    "automation",
    "language",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/pungy/shik"

[package.metadata.deb]
maintainer = "Shik Contributors"
copyright = "2024, Shik Contributors"
extended-description = """
Shik is a functional, dynamically-typed scripting language designed for
shell automation. It features a minimalist syntax inspired by Haskell and
Lisp, with pipeline operators for function composition, first-class
functions, and a rich standard library for system operations."""
section = "utils"
priority = "optional"
assets = [
    [
    "target/release/shik",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/shik/README",
    "644",
],
    [
    "LICENSE",
    "usr/share/doc/shik/LICENSE",
    "644",
],
]

[[package.metadata.generate-rpm.assets]]
source = "target/release/shik"
dest = "/usr/bin/shik"
mode = "755"

[[package.metadata.generate-rpm.assets]]
source = "README.md"
dest = "/usr/share/doc/shik/README.md"
mode = "644"

[[package.metadata.generate-rpm.assets]]
source = "LICENSE"
dest = "/usr/share/doc/shik/LICENSE"
mode = "644"

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

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

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

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

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

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

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

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

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

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

[dependencies.glob]
version = "0.3.3"

[dependencies.once_cell]
version = "1.21.3"

[dependencies.paste]
version = "1.0"

[dependencies.rand]
version = "0.9.2"

[dependencies.thiserror]
version = "2.0.17"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
