padding-struct 0.1.0

A procedural macro for automatically adding explicit padding fields to #[repr(C)] structs
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"
name = "padding-struct"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A procedural macro for automatically adding explicit padding fields to #[repr(C)] structs"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/asterinas/asterinas"
resolver = "2"

[lib]
name = "padding_struct"
path = "src/lib.rs"
proc-macro = true

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

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

[dependencies.quote]
version = "1.0.35"

[dependencies.syn]
version = "2.0.77"
features = [
    "full",
    "parsing",
    "fold",
]

[dev-dependencies.zerocopy]
version = "0.8.34"
features = ["derive"]

[lints.clippy]
allow_attributes = "warn"

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"

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