# 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 = "prefixed-tsid" version = "0.4.3" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Create Stripe-style prefixed database IDs that are type-safe and portable" readme = "README.md" license = "MIT" repository = "https://github.com/palform/prefixed-tsid/" [lib] name = "prefixed_tsid" path = "src/lib.rs" [dependencies.anyhow] version = "1.0" [dependencies.diesel] version = "2" features = ["postgres_backend"] optional = true [dependencies.rocket] version = "0.5" features = ["json"] optional = true default-features = false [dependencies.schemars] version = "0.8" optional = true [dependencies.sea-orm] version = "1" optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.ts-rs] version = "10" optional = true [dependencies.tsid] version = "0.3" features = ["debug"] default-features = false [features] default = [ "serde", "diesel", ] diesel = ["dep:diesel"] rocket = ["dep:rocket"] schemars = ["dep:schemars"] sea-orm = ["dep:sea-orm"] serde = ["dep:serde"] ts-rs = ["dep:ts-rs"]