mayber 0.1.1

A zero-cost enum for handling either references or owned values with a unified interface
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 = "2021"
rust-version = "1.56"
name = "mayber"
version = "0.1.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A zero-cost enum for handling either references or owned values with a unified interface"
homepage = "https://github.com/al8n/mayber"
documentation = "https://docs.rs/mayber"
readme = "README.md"
keywords = [
    "reference",
    "maybe",
    "cow",
    "zero-cost",
    "deref",
]
categories = [
    "data-structures",
    "rust-patterns",
    "no-std",
    "no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/al8n/mayber"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = []
default = ["std"]
serde = ["dep:serde_core"]
std = []

[lib]
name = "mayber"
path = "src/lib.rs"

[dependencies.rustversion]
version = "1"

[dependencies.serde_core]
version = "1"
optional = true
default-features = false

[lints.rust]
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(all_tests)",
    "cfg(tarpaulin)",
]

[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
overflow-checks = false
incremental = false