# 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 = "2021" rust-version = "1.61" name = "typed-fields" version = "0.2.0" build = 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 [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 = "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" [dependencies.quote] version = "1.0.28" [dependencies.secrecy] version = "0.4.1" optional = true [dependencies.serde] version = "1.0.103" features = ["derive"] optional = true [dependencies.syn] version = "2.0.31" features = ["extra-traits"] [dependencies.ulid] version = "1.1.3" optional = true [dependencies.url] version = "2.2.0" optional = true [dependencies.uuid] version = "1.0.0" optional = true [dependencies.zerocopy] version = "0.7.31" optional = true [dev-dependencies.serde_json] version = "1.0.0" [features] secret = ["dep:secrecy"] serde = [ "dep:serde", "secrecy?/serde", "ulid?/serde", "url?/serde", "uuid?/serde", ] ulid = ["dep:ulid"] url = ["dep:url"] uuid = ["dep:uuid"]