# 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 = "sid2" version = "0.4.1" description = "Id schema that is: 128-bit (uuid compatible); sorted (won't explode database indexes); random (gen anywhere); readable (has object type and a \"short\" segment); and highlights on double click. Includes postgres extension." license = "MIT" [lib] name = "sid" path = "src/lib.rs" [dependencies.rand] version = "0.8.5" optional = true [dependencies.serde] version = "1.0.166" optional = true [dependencies.sid-encode] version = "0.2.0" [dependencies.sqlx] version = "0.7" features = [ "postgres", "uuid", ] optional = true [dependencies.uuid] version = "1" optional = true [dev-dependencies.serde_json] version = "1.0.107" [features] default = ["rand"] sqlx = [ "uuid", "dep:sqlx", ] [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3" [target."cfg(target_arch = \"wasm32\")".dependencies.tsify] version = "0.4.5" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.87"