# 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 = "hax-lib"
version = "0.3.7"
authors = ["hax Authors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hax-specific helpers for Rust programs"
homepage = "https://github.com/hacspec/hax"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/hacspec/hax"

[package.metadata."docs.rs"]
rustdoc-args = [
    "--cfg",
    "doc_cfg",
    "--cfg",
    "hax",
]

[features]
default = ["macros"]
macros = ["dep:hax-lib-macros"]

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

[dependencies.hax-lib-macros]
version = "=0.3.7"
optional = true

[target."cfg(hax)".dependencies.num-bigint]
version = "0.4"
default-features = false

[target."cfg(hax)".dependencies.num-traits]
version = "0.2"
default-features = false

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(hax)"]
