# 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.65" name = "kind" version = "1.0.0" description = "Costless typed identifiers backed by UUID, with kind readable in serialized versions" readme = "README.md" keywords = [ "serde", "sqlx", "type", "uuid", ] categories = ["rust-patterns"] license = "MIT" repository = "https://github.com/wingbackapp/kind" [dependencies.kind_proc] version = "1.0.0" [dependencies.schemars] version = "0.8.16" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.sqlx] version = "0.7" features = [ "macros", "runtime-async-std-rustls", "postgres", "chrono", "json", "uuid", ] optional = true default-features = false [dependencies.utoipa] version = "4.2" optional = true [dependencies.uuid] version = "1.7" features = ["v4"] [dev-dependencies.rstest] version = "0.18" [dev-dependencies.serde_json] version = "1.0" [features] default = [ "serde", "jsonschema", "openapi", ] jsonschema = ["dep:schemars"] openapi = ["dep:utoipa"] serde = [ "dep:serde", "dep:serde_json", ] sqlx = ["dep:sqlx"]