# 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.89.0"
name = "aam-rs"
version = "2.8.1"
authors = ["Nikita Goncharov <ininids@ininids.in.rs>"]
build = "build.rs"
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE-APACHE",
    "LICENSE-MIT",
    "examples/**/*",
    "tests/**/*",
    "build.rs",
    "CHANGELOG.md",
    "PUBLIC_API.md",
    "cbindgen.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of the Abstract Alias Mapping (AAM) framework for aliasing and maping aam files."
readme = "README.md"
keywords = [
    "aam",
    "alias",
    "mapping",
    "config",
    "parser",
]
categories = [
    "data-structures",
    "parsing",
    "config",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/aam-rs/aam-rs"
resolver = "2"

[features]
64bit = ["aam-core/64bit"]
aot = ["aam-core/aot"]
builder-extras = ["aam-core/builder-extras"]
csharp = [
    "aam-core/ffi",
    "dep:csbindgen",
]
default = [
    "aam-core/default",
    "aot",
]
dev = ["aam-core/dev"]
ffi = ["aam-core/ffi"]
hash-ahash = ["aam-core/hash-ahash"]
hash-fx = ["aam-core/hash-fx"]
hash-rapidhash = ["aam-core/hash-rapidhash"]
hash-ripemd = ["aam-core/hash-ripemd"]
hash-std = ["aam-core/hash-std"]
jni = ["aam-core/jni"]
legacy = ["aam-core/legacy"]
parallel = ["aam-core/parallel"]
perf-hash = ["aam-core/perf-hash"]
python = ["aam-core/python"]
reconstructer = ["aam-core/reconstructer"]
release = ["aam-core/release"]
rust-only = ["aam-core/rust-only"]
serde = ["aam-core/serde"]
splitter = ["aam-core/splitter"]
translator = ["aam-core/translator"]
unsafe_fast_path = ["aam-core/unsafe_fast_path"]

[lib]
name = "aam_rs"
crate-type = [
    "cdylib",
    "rlib",
    "staticlib",
]
path = "src/lib.rs"

[[example]]
name = "advanced"
path = "examples/advanced.rs"

[[example]]
name = "builder"
path = "examples/builder.rs"

[[example]]
name = "config_inheritance"
path = "examples/config_inheritance.rs"

[[example]]
name = "custom_types"
path = "examples/custom_types.rs"

[[example]]
name = "derive"
path = "examples/derive.rs"
required-features = ["serde"]

[[example]]
name = "derive_debug"
path = "examples/derive_debug.rs"

[[example]]
name = "from_aam"
path = "examples/from_aam.rs"

[[example]]
name = "package_schema"
path = "examples/package_schema.rs"

[[example]]
name = "schema_in_schema"
path = "examples/schema_in_schema.rs"

[[example]]
name = "standard"
path = "examples/standard.rs"

[[example]]
name = "standard_stress"
path = "examples/standard_stress.rs"

[[example]]
name = "translator"
path = "examples/translator.rs"
required-features = ["aam-core/translator"]

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aam-core]
version = "2.8.1"

[dependencies.aam-derive]
version = "2.8.1"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

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

[dev-dependencies.tempfile]
version = "3.27.0"

[build-dependencies.csbindgen]
version = "1.9.7"
optional = true
