typed-fields 0.6.1

A collection of macros that generate newtypes
Documentation
# 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.85.0"
name = "typed-fields"
version = "0.6.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A collection of macros that generate newtypes"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/jdno/typed-fields"

[package.metadata.docs.rs]
all-features = true

[features]
sea-orm = [
    "dep:sea-orm",
    "ulid?/uuid",
]
secret = ["dep:secrecy"]
serde = [
    "dep:serde",
    "secrecy?/serde",
    "ulid?/serde",
    "url?/serde",
    "uuid?/serde",
]
ulid = ["dep:ulid"]
url = ["dep:url"]
uuid = ["dep:uuid"]

[lib]
name = "typed_fields"
path = "src/lib.rs"
proc-macro = true

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

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

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

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

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

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

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

[dependencies.proc-macro2]
version = ">=1.0.63, <2"

[dependencies.quote]
version = ">=1.0.28, <2"

[dependencies.sea-orm]
version = ">=1.0.0, <2"
optional = true

[dependencies.secrecy]
version = ">=0.10.3, <0.11"
optional = true

[dependencies.serde]
version = ">=1.0.184, <2"
features = ["derive"]
optional = true

[dependencies.syn]
version = ">=2.0.31, <3"
features = ["extra-traits"]

[dependencies.ulid]
version = ">=1.1.3, <2"
optional = true

[dependencies.url]
version = ">=2.2.2, <3"
optional = true

[dependencies.uuid]
version = ">=1.1.2, <2"
optional = true

[dev-dependencies.serde_json]
version = "1.0.85"