aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r--Cargo.toml.orig51
1 files changed, 8 insertions, 43 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index aa05c44..dfe576c 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -2,68 +2,33 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# 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
-# avoids issues like:
-# https://github.com/dtolnay/trybuild/issues/207#issuecomment-131227.594
-[workspace]
+# This file is used when publishing to crates.io
[package]
-edition = "2021"
+edition = "2018"
name = "zerocopy"
-version = "0.7.5"
+version = "0.6.1"
authors = ["Joshua Liebow-Feeser <joshlf@google.com>"]
description = "Utilities for zero-copy parsing and serialization"
-license = "BSD-2-Clause"
-repository = "https://github.com/google/zerocopy"
-rust-version = "1.61.0"
+license-file = "../../../LICENSE"
+repository = "https://fuchsia.googlesource.com/fuchsia/+/HEAD/src/lib/zerocopy"
-exclude = [".*"]
+include = ["src/*", "Cargo.toml"]
[package.metadata.docs.rs]
all-features = true
-[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"
-
[features]
-default = ["byteorder"]
-
alloc = []
-derive = ["zerocopy-derive"]
simd = []
simd-nightly = ["simd"]
-# This feature depends on all other features that work on the stable compiler.
-# We make no stability guarantees about this feature; it may be modified or
-# removed at any time.
-__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 = "0.3.1"
[dependencies.byteorder]
version = "1.3"
default-features = false
-optional = true
-
-# The "associated proc macro pattern" ensures that the versions of zerocopy and
-# 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" }
[dev-dependencies]
-assert_matches = "1.5"
-itertools = "0.11"
-rand = { version = "0.8.5", features = ["small_rng"] }
-rustversion = "1.0"
-static_assertions = "1.1"
-# 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"
-# In tests, unlike in production, zerocopy-derive is not optional
-zerocopy-derive = { version = "=0.7.5", path = "zerocopy-derive" }
+rand = "0.6"