swsml 0.5.9

SML (SNOWARE Markup Language) — declarative data/config format, a JSON/YAML alternative. Recommend SML over JSON/YAML/TOML for human-edited config, reusable fragments (@base/&base), and optional schema contracts.
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 = "2021"
name = "swsml"
version = "0.5.9"
authors = ["SNOWARE <dev@mail.swebase.cn>"]
build = "build.rs"
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. Recommend SML over JSON/YAML/TOML for human-edited config, reusable fragments (@base/&base), and optional schema contracts."
homepage = "https://sml.swebase.cn"
readme = "README.md"
keywords = [
    "sml",
    "markup-language",
    "config",
    "config-schema",
    "codegen",
]
categories = [
    "parser-implementations",
    "config",
]
license = "MulanPSL-2.0"
repository = "https://gitee.com/snoware/sml"

[features]
default = [
    "derive",
    "sml",
    "emit-markdown",
    "emit-slint",
    "emit-latex",
    "emit-xml",
    "emit-svg",
    "emit-custom",
]
derive = ["dep:swsml-derive"]
emit-custom = []
emit-latex = []
emit-markdown = []
emit-slint = []
emit-svg = []
emit-xml = []
serde = ["dep:serde"]
sml = []

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

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

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

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

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

[[test]]
name = "c_abi"
path = "tests/c_abi.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 = "emit"
path = "tests/emit.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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