[package]
edition = "2024"
rust-version = "1.96.1"
name = "newgit-core"
version = "0.1.0"
authors = ["Jack Wen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core domain model for newgit: branch instances, tracker lanes, and resource lifecycles"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Spheroman/newgit"
resolver = "2"
[lib]
name = "newgit_core"
path = "src/lib.rs"
[[test]]
name = "checkpoints"
path = "tests/checkpoints.rs"
[[test]]
name = "cleanup"
path = "tests/cleanup.rs"
[[test]]
name = "export"
path = "tests/export.rs"
[[test]]
name = "metadata"
path = "tests/metadata.rs"
[[test]]
name = "resources"
path = "tests/resources.rs"
[[test]]
name = "trackers"
path = "tests/trackers.rs"
[dependencies.camino]
version = "1.2"
features = ["serde1"]
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
]
default-features = false
[dependencies.nix]
version = "0.30"
features = [
"signal",
"process",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "1.1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
dbg_macro = "warn"
todo = "warn"
unwrap_used = "warn"
[lints.rust]
unsafe_code = "forbid"