# 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-package"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Package manager for Sage - Git-first dependency management"
readme = false
license = "MIT"
repository = "https://github.com/sagelang/sage"

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

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

[dependencies.dirs]
version = "5"

[dependencies.git2]
version = "0.19"

[dependencies.hex]
version = "0.4"

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

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

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[dependencies.toml_edit]
version = "0.22"

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

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

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

[lints.rust]
unsafe_code = "forbid"
