# Copyright 2024 The Fuchsia Authors # # Licensed under a BSD-style license , Apache License, Version 2.0 # , or the MIT # license , at your option. # This file may not be copied, modified, or distributed except according to # those terms. [package] name = "unsafe-fields" version = "0.2.1" edition = "2021" description = "Make it unsafe to access or modify fields with safety invariants" license = "BSD-2-Clause OR Apache-2.0 OR MIT" repository = "https://github.com/google/zerocopy" rust-version = { workspace = true } exclude = [".*"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"] [lints.rust] unexpected_cfgs = { level = "allow", check-cfg = ['cfg(doc_cfg)'] } [dependencies] zerocopy_0_8 = { package = "zerocopy", version = "0.8.7", optional = true }