diff options
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r-- | Cargo.toml.orig | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig index aa05c44..9355f08 100644 --- a/Cargo.toml.orig +++ b/Cargo.toml.orig @@ -1,6 +1,10 @@ -# Copyright 2018 The Fuchsia Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. +# Copyright 2018 The Fuchsia Authors +# +# Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0 +# <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT +# license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option. +# This file may not be copied, modified, or distributed except according to +# those terms. # Put both crates in a single workspace so that `trybuild` compiler errors have # paths that are stable regardless of the path to the repository root. This @@ -9,24 +13,28 @@ [workspace] [package] -edition = "2021" +edition = "2018" name = "zerocopy" -version = "0.7.5" +version = "0.7.29" authors = ["Joshua Liebow-Feeser <joshlf@google.com>"] description = "Utilities for zero-copy parsing and serialization" -license = "BSD-2-Clause" +license = "BSD-2-Clause OR Apache-2.0 OR MIT" repository = "https://github.com/google/zerocopy" -rust-version = "1.61.0" +rust-version = "1.60.0" exclude = [".*"] [package.metadata.docs.rs] all-features = true +rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"] [package.metadata.ci] # The versions of the stable and nightly compiler toolchains to use in CI. -pinned-stable = "1.69.0" -pinned-nightly = "nightly-2023-05-25" +pinned-stable = "1.74.0" +pinned-nightly = "nightly-2023-12-04" + +[package.metadata.playground] +features = ["__internal_use_only_features_that_work_on_stable"] [features] default = ["byteorder"] @@ -41,7 +49,7 @@ simd-nightly = ["simd"] __internal_use_only_features_that_work_on_stable = ["alloc", "derive", "simd"] [dependencies] -zerocopy-derive = { version = "=0.7.5", path = "zerocopy-derive", optional = true } +zerocopy-derive = { version = "=0.7.29", path = "zerocopy-derive", optional = true } [dependencies.byteorder] version = "1.3" @@ -52,7 +60,7 @@ optional = true # zerocopy-derive remain equal, even if the 'derive' feature isn't used. # See: https://github.com/matklad/macro-dep-test [target.'cfg(any())'.dependencies] -zerocopy-derive = { version = "=0.7.5", path = "zerocopy-derive" } +zerocopy-derive = { version = "=0.7.29", path = "zerocopy-derive" } [dev-dependencies] assert_matches = "1.5" @@ -60,10 +68,13 @@ itertools = "0.11" rand = { version = "0.8.5", features = ["small_rng"] } rustversion = "1.0" static_assertions = "1.1" +testutil = { path = "testutil" } # Pinned to a specific version so that the version used for local development # and the version used in CI are guaranteed to be the same. Future versions # sometimes change the output format slightly, so a version mismatch can cause # CI test failures. -trybuild = "=1.0.80" +trybuild = { version = "=1.0.85", features = ["diff"] } # In tests, unlike in production, zerocopy-derive is not optional -zerocopy-derive = { version = "=0.7.5", path = "zerocopy-derive" } +zerocopy-derive = { version = "=0.7.29", path = "zerocopy-derive" } +# TODO(#381) Remove this dependency once we have our own layout gadgets. +elain = "0.3.0" |