mssql-types 0.19.2

SQL Server to Rust type mappings and conversions
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "mssql-types"
version = "0.19.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL Server to Rust type mappings and conversions"
readme = "README.md"
keywords = [
    "sql-server",
    "types",
    "conversion",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/praxiomlabs/rust-mssql-driver"

[package.metadata.docs.rs]
all-features = true

[package.metadata.cargo-machete]
ignored = [
    "proptest",
    "criterion",
]

[features]
chrono = ["dep:chrono"]
decimal = ["dep:rust_decimal"]
default = [
    "chrono",
    "uuid",
    "decimal",
]
encoding = ["dep:encoding_rs"]
json = ["dep:serde_json"]
uuid = ["dep:uuid"]

[lib]
name = "mssql_types"
path = "src/lib.rs"

[[test]]
name = "type_conversions"
path = "tests/type_conversions.rs"

[[bench]]
name = "types"
path = "benches/types.rs"
harness = false

[dependencies.bytes]
version = "1.9"
default-features = false

[dependencies.chrono]
version = "0.4"
features = ["std"]
optional = true
default-features = false

[dependencies.encoding_rs]
version = "0.8"
optional = true

[dependencies.rust_decimal]
version = "1.36"
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "2.0"
features = ["std"]
default-features = false

[dependencies.uuid]
version = "1.11"
features = ["v4"]
optional = true

[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]

[dev-dependencies.proptest]
version = "1.5"

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
panic = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"