# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.86"
name = "ploidy-pointer"
version = "0.12.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JSON Pointers for strongly-typed data structures"
readme = "README.md"
keywords = [
    "json-pointer",
    "json-schema",
    "rfc6901",
    "json",
    "pointer",
]
license = "Apache-2.0"
repository = "https://github.com/linabutler/ploidy"
resolver = "2"

[features]
chrono = ["dep:chrono"]
default = ["derive"]
derive = ["dep:ploidy-pointer-derive"]
did-you-mean = [
    "dep:strsim",
    "ploidy-pointer-derive/did-you-mean",
]
full = [
    "chrono",
    "derive",
    "did-you-mean",
    "indexmap",
    "serde_json",
    "url",
]
indexmap = ["dep:indexmap"]
serde_json = ["dep:serde_json"]
url = ["dep:url"]

[lib]
name = "ploidy_pointer"
path = "src/lib.rs"

[[test]]
name = "pointee"
path = "tests/pointee.rs"

[[test]]
name = "tag"
path = "tests/tag.rs"

[[test]]
name = "target"
path = "tests/target.rs"

[dependencies.chrono]
version = "0.4"
features = []
optional = true
default-features = false

[dependencies.indexmap]
version = "2"
optional = true

[dependencies.ploidy-pointer-derive]
version = "0.12.0"
optional = true

[dependencies.ref-cast]
version = "1"

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.strsim]
version = "0.11"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.url]
version = "2.5"
features = []
optional = true
default-features = false
