# 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 = "prefix_id" version = "1.0.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library for generating unique IDs nano ids with a prefix." readme = "README.md" license = "Apache-2.0" repository = "https://github.com/DevSlashRichie/prefix_id" [lib] name = "prefix_id" path = "src/lib.rs" [dependencies.diesel] version = "^2" optional = true [dependencies.nanoid] version = "0.4" [dependencies.serde] version = "^1.0" features = ["derive"] optional = true [dependencies.smol_str] version = "0.2" [dependencies.thiserror] version = "1.0.61" [dev-dependencies.serde_json] version = "1.0" [features] default = [] diesel = ["dep:diesel"] serde = ["dep:serde"]