marque-utils 0.1.0

Common utilities for Marque, the marking compiler.
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.85"
name = "marque-utils"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common utilities for Marque, the marking compiler."
readme = "README.md"
license-file = "LICENSE.md"
repository = "https://github.com/marquetools/marque"

[features]
batching = [
    "dep:async-trait",
    "dep:serde",
    "dep:tokio",
    "dep:tokio-util",
]
bytes_decode = ["dep:encoding_rs"]
concur_control = ["dep:tokio"]
default = []
fingerprint = [
    "dep:base64",
    "dep:blake3",
    "dep:serde",
]
retryable = [
    "dep:fastrand",
    "dep:tokio",
]

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.async-trait]
version = "0.1.89"
optional = true

[dependencies.base64]
version = "0.22.0"
optional = true

[dependencies.blake3]
version = "1.8.5"
features = ["pure"]
optional = true
default-features = false

[dependencies.encoding_rs]
version = "0.8.35"
optional = true

[dependencies.fastrand]
version = "2.4.1"
features = ["std"]
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.tokio]
version = "1.52.1"
features = ["full"]
optional = true

[dependencies.tokio-util]
version = "0.7.18"
features = ["rt"]
optional = true

[dependencies.tracing]
version = "0.1.44"

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

[lints.clippy]
field_reassign_with_default = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(coverage)",
    "cfg(coverage_nightly)",
    'cfg(feature, values("corpus-override"))',
]