swsml 0.2.1

SML (SNOWARE Markup Language) — declarative data/config format, a JSON/YAML alternative
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"
name = "swsml"
version = "0.2.1"
authors = ["SNOWARE"]
build = false
exclude = ["/target"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SML (SNOWARE Markup Language) — declarative data/config format, a JSON/YAML alternative"
homepage = "https://sml.swebase.cn"
readme = "README.md"
keywords = [
    "sml",
    "snoware",
    "swsml",
    "config",
    "markup",
]
categories = [
    "parser-implementations",
    "config",
]
license = "MulanPSL-2.0"
repository = "https://gitee.com/snoware/sml"
resolver = "2"

[features]
default = ["derive"]
derive = ["dep:swsml-derive"]
serde = ["dep:serde"]

[lib]
name = "sml"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

[[example]]
name = "derive_demo"
path = "examples/derive_demo.rs"

[[example]]
name = "include_demo"
path = "examples/include_demo.rs"

[[example]]
name = "readme_quickstart"
path = "examples/readme_quickstart.rs"

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

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

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

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

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

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

[dependencies.swsml-derive]
version = "0.2.1"
optional = true

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

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

[dev-dependencies.toml]
version = "0"

[profile.release]
opt-level = 2
lto = false