ic-auth-wire 0.53.2

Bounded credential, session admission, read and logout Wire contracts
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.100.0"
name = "ic-auth-wire"
version = "0.53.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bounded credential, session admission, read and logout Wire contracts"
documentation = "https://docs.rs/ic-auth-wire"
readme = "README.md"
license-file = "LICENSE.md"
repository = "https://github.com/dragginzgame/ic-auth"

[package.metadata.cargo-machete]
ignored = ["toko-tooling"]

[features]
typescript = ["ic-wire/platform-types"]

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

[[example]]
name = "generate"
path = "examples/generate.rs"
required-features = ["typescript"]

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

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

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

[dependencies.ic-auth-protocol-types]
version = "0.44.3"

[dependencies.ic-wire]
version = "0.34.2"
features = ["platform-types"]

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

[dev-dependencies.toko-tooling]
version = "=0.47.0"

[lints.cargo]
missing_lints_inheritance = "deny"
unknown_lints = "deny"
unused_dependencies = "deny"
unused_workspace_dependencies = "deny"
unused_workspace_package_fields = "deny"

[lints.clippy]
empty_line_after_doc_comments = "allow"
missing_panics_doc = "warn"
must_use_candidate = "warn"
needless_pass_by_value = "warn"
redundant_clone = "warn"
too_many_lines = "allow"
wildcard_imports = "warn"

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

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

[lints.rust]
dead_code = "deny"
missing_docs = "warn"
unfulfilled_lint_expectations = "deny"
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"

[lints.rustdoc]
broken_intra_doc_links = "deny"
invalid_markdown_table = "deny"