# 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 = "sticks"
version = "0.3.3"
authors = ["mAmineChniti"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tool for managing C and C++ projects"
documentation = "https://docs.rs/sticks"
readme = "README.md"
license = "MIT"
repository = "https://github.com/mAmineChniti/sticks"

[package.metadata.deb]
name = "sticks"
maintainer = "mAmineChniti <emin.chniti@esprit.tn>"
copyright = "2023-2025 mAmineChniti <emin.chniti@esprit.tn>"
license-file = [
    "LICENSE",
    "0",
]
depends = "$auto, gcc"
extended-description = """
Sticks is a Rust command-line tool for managing C and C++ projects. 
It simplifies the process of creating new projects and managing dependencies 
in your Makefile with modern build practices."""
section = "devel"
priority = "optional"
assets = [
    [
    "target/release/sticks",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/sticks/",
    "644",
],
    [
    "LICENSE",
    "usr/share/doc/sticks/",
    "644",
],
]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.100"

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

[dependencies.dirs]
version = "5.0"

[dependencies.libc]
version = "0.2"

[dev-dependencies.serial_test]
version = "3.2"
