isoloom-spec 1.0.1

The Isoloom spec: model, parsing, normalization and validation.
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"
rust-version = "1.88"
name = "isoloom-spec"
version = "1.0.1"
build = false
exclude = ["tests/"]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Isoloom spec: model, parsing, normalization and validation."
homepage = "https://www.isoloom.com"
documentation = "https://docs.rs/isoloom-spec"
readme = false
keywords = [
    "isoloom",
    "infrastructure",
    "iac",
    "spec",
    "network",
]
categories = [
    "config",
    "parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/isoloom/isoloom"

[lib]
name = "isoloom_spec"
path = "src/lib.rs"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.saphyr-parser]
version = "0.2"

[dependencies.schemars]
version = "1"
features = ["indexmap2"]

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.serde_path_to_error]
version = "0.1"

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dev-dependencies.insta]
version = "1"
features = ["yaml"]

[dev-dependencies.jsonschema]
version = "0.58"
default-features = false

[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
as_conversions = "warn"
clone_on_ref_ptr = "deny"
cognitive_complexity = "deny"
dbg_macro = "deny"
doc_markdown = "warn"
expect_used = "deny"
fn_params_excessive_bools = "deny"
get_unwrap = "deny"
indexing_slicing = "warn"
let_underscore_must_use = "warn"
missing_errors_doc = "warn"
must_use_candidate = "warn"
panic = "deny"
print_stderr = "warn"
print_stdout = "deny"
rc_buffer = "deny"
shadow_unrelated = "warn"
similar_names = "warn"
str_to_string = "warn"
string_slice = "warn"
struct_excessive_bools = "deny"
todo = "deny"
too_many_arguments = "deny"
too_many_lines = "deny"
unimplemented = "deny"
unwrap_used = "deny"
wildcard_imports = "deny"

[lints.clippy.all]
level = "deny"
priority = -2

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rust.unused]
level = "deny"
priority = -1

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
missing_crate_level_docs = "deny"
private_intra_doc_links = "deny"