| # Protocol Buffers - Google's data interchange format |
| # Copyright 2024 Google LLC. All rights reserved. |
| |
| # Use of this source code is governed by a BSD-style |
| # license that can be found in the LICENSE file or at |
| # https://developers.google.com/open-source/licenses/bsd |
| |
| [package] |
| name = "protobuf" |
| version = "{VERSION}" |
| edition = "2021" # The Rust edition (not to be confused with Protobuf Edition). |
| links = "upb" |
| license = "BSD-3-Clause" |
| rust-version = "1.79" |
| description = "Protocol Buffers - Google's data interchange format" |
| |
| [lib] |
| path = "src/shared.rs" |
| |
| [dependencies] |
| linkme = "0.3.35" |
| paste = { package = "paste-complete", version = "1.0.15"} |
| protobuf-macros = { version = "{VERSION}", path = "../protobuf_macros", package = "protobuf-macros" } |
| |
| [dev-dependencies] |
| googletest = "0.14.2" |
| |
| [build-dependencies] |
| cc = "1.1.6" |
| |
| [lints.rust] |
| unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bzl)', 'cfg(cpp_kernel)', 'cfg(upb_kernel)', 'cfg(lite_runtime)'] } |