# 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.70" name = "package_json_schema" version = "0.2.2" authors = ["Ifiok Jr. "] build = false include = [ "src/**/*.rs", "Cargo.toml", "readme.md", "license", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Parse content from `package.json` content and consume the result as a `PackageJson` struct." homepage = "https://github.com/ifiokjr/package_json_schema" documentation = "https://docs.rs/package_json_schema" readme = "readme.md" keywords = [ "schema", "package", "npm", "node", "json", ] categories = [ "encoding", "config", ] license = "Unlicense" repository = "https://github.com/ifiokjr/package_json_schema" [lib] name = "package_json_schema" crate-type = ["lib"] path = "src/lib.rs" [dependencies.cfg-if] version = "1" [dependencies.doc-comment] version = "0.3" [dependencies.indexmap] version = "2" features = ["serde"] [dependencies.lazy_static] version = "1" [dependencies.regex] version = "1" [dependencies.semver] version = "1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" features = [ "preserve_order", "std", ] [dependencies.thiserror] version = "1" [dependencies.typed-builder] version = "0.20" [dependencies.validator] version = "0.18" features = ["derive"] optional = true [dev-dependencies.insta] version = "1" features = ["json"] [features] validate = ["dep:validator"] [lints.clippy] blocks_in_conditions = "allow" cargo_common_metadata = "allow" cast_possible_truncation = "allow" cast_possible_wrap = "allow" cast_precision_loss = "allow" cast_sign_loss = "allow" expl_impl_clone_on_copy = "allow" items_after_statements = "allow" missing_errors_doc = "allow" missing_panics_doc = "allow" module_name_repetitions = "allow" must_use_candidate = "allow" no_effect_underscore_binding = "allow" tabs-in-doc-comments = "allow" too_many_lines = "allow" wildcard_dependencies = "deny" wildcard_imports = "allow" [lints.clippy.complexity] level = "warn" priority = -1 [lints.clippy.correctness] level = "deny" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.clippy.perf] level = "warn" priority = -1 [lints.clippy.style] level = "warn" priority = -1 [lints.clippy.suspicious] level = "warn" priority = -1 [lints.rust] unsafe_code = "deny" unstable_features = "deny" unused_extern_crates = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" unused_macro_rules = "warn" unused_qualifications = "warn" variant_size_differences = "warn" [lints.rust.rust_2021_compatibility] level = "warn" priority = -1 [lints.rust.rust_2024_compatibility] level = "warn" priority = -1