# 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" name = "tagged-id" version = "0.3.0" authors = ["Bertrand Bousquet "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A zero-cost wrapper adding type-safety to resource identifiers." homepage = "https://github.com/kamek-pf/tagged-id" readme = "README.md" license = "MIT" repository = "https://github.com/kamek-pf/tagged-id" [lib] name = "tagged_id" path = "src/lib.rs" [dependencies.serde] version = "1.0" optional = true [dependencies.smartstring] version = "1.0" optional = true [dependencies.sqlx] version = "0.8" optional = true default-features = false [dependencies.tagged-id-derive] version = "0.1" optional = true [dependencies.uuid] version = "1.10" optional = true default-features = false [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.trybuild] version = "1.0" [features] default = ["derive"] derive = [ "tagged-id-derive", "serde?/derive", ] serde = [ "dep:serde", "smartstring?/serde", "uuid?/serde", ] smartstring = ["dep:smartstring"] sqlx-mysql = [ "dep:sqlx", "sqlx/mysql", ] sqlx-postgres = [ "dep:sqlx", "sqlx/postgres", ] sqlx-sqlite = [ "dep:sqlx", "sqlx/sqlite", ] uuid = ["dep:uuid"]