# 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"
rust-version = "1.56"
name = "serde_core"
version = "1.0.228"
authors = [
    "Erick Tryzelaar <erick.tryzelaar@gmail.com>",
    "David Tolnay <dtolnay@gmail.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Serde traits only, with no support for derive -- use the `serde` crate instead"
homepage = "https://serde.rs"
documentation = "https://docs.rs/serde_core"
readme = "README.md"
keywords = [
    "serde",
    "serialization",
    "no_std",
]
categories = [
    "encoding",
    "no-std",
    "no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/serde-rs/serde"

[package.metadata.playground]
features = [
    "rc",
    "result",
]

[package.metadata.docs.rs]
features = [
    "rc",
    "result",
    "unstable",
]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
    "--generate-link-to-definition",
    "--generate-macro-expansion",
    "--extern-html-root-url=core=https://doc.rust-lang.org",
    "--extern-html-root-url=alloc=https://doc.rust-lang.org",
    "--extern-html-root-url=std=https://doc.rust-lang.org",
]

[features]
alloc = []
default = [
    "std",
    "result",
]
rc = []
result = []
std = []
unstable = []

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

[dev-dependencies.serde]
version = "1"

[dev-dependencies.serde_derive]
version = "1"

[target."cfg(any())".dependencies.serde_derive]
version = "=1.0.228"
