[package]
edition = "2024"
name = "rust-key-paths"
version = "2.0.3"
authors = ["Codefonsi <info@codefonsi.com>"]
build = false
include = [
"src/**/*",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Keypaths for Rust: Static dispatch implementation (rust-keypaths) and legacy dynamic dispatch (key-paths-core). Type-safe, composable access to nested data structures."
homepage = "https://github.com/codefonsi/rust-key-paths"
documentation = "https://docs.rs/rust-key-paths"
readme = "README.md"
keywords = [
"keypaths",
"EnumKeyPath",
"type-safe",
"WritableKeyPath",
"ReadableKeyPath",
]
license = "MPL-2.0"
repository = "https://github.com/codefonsi/rust-key-paths"
[features]
default = []
parking_lot = ["dep:parking_lot"]
tagged_core = ["tagged-core/default"]
tokio = ["dep:tokio"]
[lib]
name = "rust_key_paths"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.parking_lot]
version = "0.12"
optional = true
[dependencies.tokio]
version = "1.38.0"
features = [
"sync",
"rt",
]
optional = true
[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.parking_lot]
version = "0.12"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tagged-core]
version = "0.8.0"
[dev-dependencies.tokio]
version = "1.38.0"
features = [
"sync",
"rt",
"rt-multi-thread",
"macros",
]
[dev-dependencies.uuid]
version = "1.0"
features = [
"v4",
"serde",
]