Revision control

Copy as Markdown

Other Tools

# 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.65.0"
name = "yaml-rust2"
version = "0.10.3"
authors = [
"Yuheng Chen <yuhengchen@sensetime.com>",
"Ethiraric <ethiraric@gmail.com>",
"David Aguilar <davvid@gmail.com>",
]
build = false
exclude = [
"/documents",
"/tests/yaml-test-suite",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fully YAML 1.2 compliant YAML parser"
documentation = "https://docs.rs/yaml-rust2"
readme = "README.md"
license = "MIT OR Apache-2.0"
[features]
debug_prints = []
default = ["encoding"]
encoding = ["dep:encoding_rs"]
[lib]
name = "yaml_rust2"
path = "src/lib.rs"
[[bin]]
name = "dump_events"
path = "tools/dump_events.rs"
[[bin]]
name = "run_bench"
path = "tools/run_bench.rs"
[[bin]]
name = "time_parse"
path = "tools/time_parse.rs"
[[example]]
name = "dump_yaml"
path = "examples/dump_yaml.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "emitter"
path = "tests/emitter.rs"
[[test]]
name = "quickcheck"
path = "tests/quickcheck.rs"
[[test]]
name = "scanner"
path = "tests/scanner.rs"
[[test]]
name = "spec_test"
path = "tests/spec_test.rs"
[[test]]
name = "test_round_trip"
path = "tests/test_round_trip.rs"
[[test]]
name = "yaml-test-suite"
path = "tests/yaml-test-suite.rs"
harness = false
[dependencies.arraydeque]
version = "0.5.1"
[dependencies.encoding_rs]
version = "0.8.33"
optional = true
[dependencies.hashlink]
version = "0.10"
[dev-dependencies.libtest-mimic]
version = "0.8"
[dev-dependencies.quickcheck]
version = "1.0"
[profile.release-lto]
lto = true
inherits = "release"