# 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"
name = "padlock-source"
version = "0.10.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Source analysis backend (C/C++/Rust/Go/Zig) for the padlock struct layout analyzer"
readme = "README.md"
keywords = [
    "performance",
    "memory",
    "layout",
    "analysis",
    "cache",
]
categories = [
    "development-tools",
    "development-tools::profiling",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gidotencate/padlock"
resolver = "2"

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

[dependencies.anyhow]
version = "1"

[dependencies.padlock-core]
version = "0.10.4"

[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]

[dependencies.quote]
version = "1"

[dependencies.similar]
version = "2"

[dependencies.syn]
version = "2"
features = [
    "full",
    "visit",
]

[dependencies.tree-sitter]
version = "0.23"

[dependencies.tree-sitter-c]
version = "0.23"

[dependencies.tree-sitter-cpp]
version = "0.23"

[dependencies.tree-sitter-go]
version = "0.23"

[dependencies.tree-sitter-zig]
version = "1.1"

[dev-dependencies.padlock-core]
version = "0.10.4"
features = ["test-helpers"]
