# 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.0" name = "libyml" version = "0.0.5" authors = ["LibYML Contributors"] build = false exclude = [ "/.git/*", "/.github/*", "/.gitignore", "/.vscode/*", ] include = [ "/CONTRIBUTING.md", "/LICENSE-MIT", "/benches/**", "/build.rs", "/Cargo.toml", "/examples/**", "/README.md", "/src/**", "/tests/**", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A safe and efficient Rust library for parsing, emitting, and manipulating YAML data." homepage = "https://libyml.com" documentation = "https://docs.rs/libyml" readme = "README.md" keywords = [ "yaml", "serde", "serialization", ] categories = [ "encoding", "parser-implementations", "no-std", ] license = "MIT" repository = "https://github.com/sebastienrousseau/libyml" [package.metadata.clippy] warn-lints = [ "clippy::all", "clippy::pedantic", "clippy::cargo", "clippy::nursery", ] [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] targets = ["x86_64-unknown-linux-gnu"] [profile.dev] opt-level = 0 lto = false codegen-units = 256 debug = 2 debug-assertions = true rpath = false panic = "unwind" overflow-checks = true incremental = true strip = false [profile.release] opt-level = "s" lto = true codegen-units = 1 debug = 0 debug-assertions = false rpath = false panic = "abort" overflow-checks = false incremental = false strip = "symbols" [profile.test] opt-level = 0 lto = false codegen-units = 256 debug = 2 debug-assertions = true rpath = false overflow-checks = true incremental = true strip = false [lib] name = "libyml" crate-type = ["lib"] path = "src/lib.rs" doc-scrape-examples = false [[bin]] name = "run-emitter-test-suite" path = "src/bin/run-emitter-test-suite.rs" [[bin]] name = "run-parser-test-suite" path = "src/bin/run-parser-test-suite.rs" [[example]] name = "apis" path = "examples/apis/main.rs" [[example]] name = "example" path = "examples/example.rs" [[test]] name = "test_api" path = "tests/test_api.rs" [[test]] name = "test_decode" path = "tests/test_decode.rs" [[test]] name = "test_document" path = "tests/test_document.rs" [[test]] name = "test_dumper" path = "tests/test_dumper.rs" [[test]] name = "test_emitter" path = "tests/test_emitter.rs" [[test]] name = "test_internal" path = "tests/test_internal.rs" [[test]] name = "test_lib" path = "tests/test_lib.rs" [[test]] name = "test_loader" path = "tests/test_loader.rs" [[test]] name = "test_macros" path = "tests/test_macros.rs" [[test]] name = "test_memory" path = "tests/test_memory.rs" [[test]] name = "test_parser" path = "tests/test_parser.rs" [[test]] name = "test_parser_error" path = "tests/test_parser_error.rs" [[test]] name = "test_string" path = "tests/test_string.rs" [[test]] name = "test_yaml" path = "tests/test_yaml.rs" [dependencies.anyhow] version = "1.0.86" [dev-dependencies.pretty_assertions] version = "1.4.0" [build-dependencies.version_check] version = "0.9.5" [features] default = [] test-utils = [] [lints.rust] bare_trait_objects = "allow" box_pointers = "warn" dead_code = "deny" deprecated_in_future = "deny" elided_lifetimes_in_paths = "allow" ellipsis_inclusive_range_patterns = "deny" explicit_outlives_requirements = "deny" macro_use_extern_crate = "deny" meta_variable_misuse = "deny" missing_copy_implementations = "warn" missing_debug_implementations = "forbid" missing_docs = "warn" missing_fragment_specifier = "deny" non_ascii_idents = "forbid" non_camel_case_types = "allow" non_upper_case_globals = "allow" noop_method_call = "deny" single_use_lifetimes = "deny" trivial_bounds = "allow" trivial_casts = "deny" trivial_numeric_casts = "deny" unreachable_pub = "forbid" unsafe_code = "allow" unstable_features = "warn" unused_crate_dependencies = "allow" unused_extern_crates = "warn" unused_features = "deny" unused_import_braces = "deny" unused_labels = "deny" unused_lifetimes = "deny" unused_macro_rules = "deny" unused_qualifications = "deny" unused_results = "warn" variant_size_differences = "deny" [lints.rust.future_incompatible] level = "deny" priority = -1 [lints.rust.keyword_idents] level = "deny" priority = -1 [lints.rust.rust_2018_idioms] level = "deny" priority = -1 [lints.rust.rust_2021_compatibility] level = "deny" priority = -1 [lints.rust.unused] level = "deny" priority = -1