# 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"
name = "sourcespan"
version = "0.11.10"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "`span` is a region of source code"
documentation = "https://docs.rs/sourcespan"
readme = false
license = "MIT"
repository = "https://github.com/stylang/parserc/crates/span"

[features]
default = ["serde"]
serde = [
    "dep:serde",
    "serde/derive",
]

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

[dependencies.serde]
version = "1.0.228"
optional = true
