[package]
edition = "2024"
rust-version = "1.85"
name = "puerto-core"
version = "0.20.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Puerto runtime — the domain types every Puerto project shares: paged lists, the repository error, domain events and the ports their transports implement, and the mail ports, and the auth port."
homepage = "https://github.com/Guuri11/Puerto"
readme = false
keywords = [
"ddd",
"clean-architecture",
"puerto",
"events",
"auth",
]
categories = ["rust-patterns"]
license = "MIT"
repository = "https://github.com/Guuri11/Puerto"
[features]
test-utils = ["dep:mockall"]
[lib]
name = "puerto_core"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
]
default-features = false
[dependencies.mockall]
version = "0.13"
optional = true
[dependencies.serde]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.uuid]
version = "1"
features = [
"v7",
"serde",
]
[dev-dependencies.mockall]
version = "0.13"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
]