# 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 = "jacquard-core"
version = "0.3.1"
authors = ["Sam Hart"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared identifiers, types, and constants for Jacquard routing"
readme = false
license = "Apache-2.0"

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

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

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

[dependencies.jacquard-macros]
version = "0.3.1"

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

[dependencies.thiserror]
version = "1"

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

[lints.clippy]
as_conversions = "warn"
cast_possible_truncation = "deny"
cast_sign_loss = "deny"
dbg_macro = "deny"
disallowed_methods = "deny"
disallowed_types = "deny"
float_arithmetic = "deny"
needless_pass_by_value = "warn"
todo = "deny"
unimplemented = "deny"
wildcard_imports = "warn"

[lints.rust]
unreachable_pub = "warn"
unused_must_use = "deny"
