# 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.90"
name = "base64-ng-serde"
version = "1.3.4"
build = false
include = [
    "src/**",
    "tests/**",
    "Cargo.toml",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optional serde wrappers for base64-ng"
homepage = "https://github.com/valkyoth/base64-ng"
documentation = "https://docs.rs/base64-ng-serde"
readme = "README.md"
keywords = [
    "base64",
    "serde",
    "encoding",
    "no-std",
]
categories = [
    "encoding",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/valkyoth/base64-ng"
resolver = "2"

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

[features]
alloc = [
    "base64-ng/alloc",
    "serde/alloc",
]
default = ["alloc"]
std = [
    "alloc",
    "base64-ng/std",
    "serde/std",
]

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

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

[dependencies.base64-ng]
version = "1.3.4"
default-features = false

[dependencies.serde]
version = "1.0.228"
default-features = false

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]
default-features = false

[dev-dependencies.serde_json]
version = "1.0.150"

[lints.clippy]
all = "deny"
pedantic = "deny"

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