34 lines
704 B
Plaintext
34 lines
704 B
Plaintext
|
|
[package]
|
||
|
|
name = "{{TOOL_NAME}}-core"
|
||
|
|
version.workspace = true
|
||
|
|
edition.workspace = true
|
||
|
|
license.workspace = true
|
||
|
|
description = "Core library for {{TOOL_NAME}}"
|
||
|
|
|
||
|
|
[lib]
|
||
|
|
name = "{{TOOL_NAME}}_core"
|
||
|
|
path = "src/lib.rs"
|
||
|
|
|
||
|
|
[dependencies]
|
||
|
|
tools-shared = { path = "../../../shared/rust" }
|
||
|
|
serde = { workspace = true }
|
||
|
|
serde_json = { workspace = true }
|
||
|
|
tokio = { workspace = true }
|
||
|
|
thiserror = "1.0"
|
||
|
|
anyhow = "1.0"
|
||
|
|
tracing = { workspace = true }
|
||
|
|
uuid = { version = "1.0", features = ["v4", "serde"] }
|
||
|
|
chrono = { version = "0.4", features = ["serde"] }
|
||
|
|
|
||
|
|
[dev-dependencies]
|
||
|
|
tempfile = "3.8"
|
||
|
|
tokio-test = "0.4"
|
||
|
|
|
||
|
|
[lints.rust]
|
||
|
|
unsafe_code = "forbid"
|
||
|
|
missing_docs = "warn"
|
||
|
|
|
||
|
|
[lints.clippy]
|
||
|
|
all = "warn"
|
||
|
|
pedantic = "warn"
|