-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (37 loc) · 1.38 KB
/
Cargo.toml
File metadata and controls
43 lines (37 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "rust-key-paths"
version = "2.9.3"
edition = "2024"
authors = ["Codefonsi <info@codefonsi.com>"]
license = "MPL-2.0"
description = "Keypaths for Rust: Static dispatch implementation (rust-keypaths) and legacy dynamic dispatch (key-paths-core). Type-safe, composable access to nested data structures."
repository = "https://github.com/codefonsi/rust-key-paths"
homepage = "https://github.com/codefonsi/rust-key-paths"
documentation = "https://docs.rs/rust-key-paths"
keywords = ["keypaths", "EnumKeyPath", "type-safe", "WritableKeyPath", "ReadableKeyPath"]
readme = "./README.md"
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE"]
[dependencies]
async-trait = "0.1"
pin-project = { version = "1.1", optional = true }
tokio = { version = "1.38.0", features = ["sync", "rt", "rt-multi-thread", "macros", "time"], optional = true }
parking_lot = { version = "0.12", optional = true }
[workspace]
resolver = "3" # or "3"
members = [
"key-paths-derive",
"key-paths-iter",
]
# Use local rust-key-paths when developing (remove or override when publishing dependents)
[patch.crates-io]
rust-key-paths = { path = "." }
[features]
default = []
parking_lot = ["dep:parking_lot"]
pin_project = ["dep:pin-project"]
tagged_core = ["tagged-core/default"]
tokio = ["dep:tokio"]
[dev-dependencies]
tagged-core = "1.0.1"
pin-project = "1.1"
key-paths-derive = { path = "key-paths-derive" }