136 lines
3.0 KiB
TOML
136 lines
3.0 KiB
TOML
# 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"
|
|
name = "zerovec-derive"
|
|
version = "0.11.3"
|
|
authors = ["Manish Goregaokar <manishsmail@gmail.com>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Custom derive for the zerovec crate"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"macros",
|
|
"derive",
|
|
"serialization",
|
|
"zero-copy",
|
|
]
|
|
categories = [
|
|
"rust-patterns",
|
|
"memory-management",
|
|
"caching",
|
|
"no-std",
|
|
"data-structures",
|
|
]
|
|
license = "Unicode-3.0"
|
|
repository = "https://github.com/unicode-org/icu4x"
|
|
|
|
[package.metadata.workspaces]
|
|
independent = true
|
|
|
|
[lib]
|
|
name = "zerovec_derive"
|
|
path = "src/lib.rs"
|
|
proc-macro = true
|
|
|
|
[[example]]
|
|
name = "derives"
|
|
path = "examples/derives.rs"
|
|
test = true
|
|
harness = false
|
|
|
|
[[example]]
|
|
name = "make"
|
|
path = "examples/make.rs"
|
|
test = true
|
|
harness = false
|
|
|
|
[[example]]
|
|
name = "make_var"
|
|
path = "examples/make_var.rs"
|
|
test = true
|
|
harness = false
|
|
|
|
[dependencies.proc-macro2]
|
|
version = "1.0.61"
|
|
|
|
[dependencies.quote]
|
|
version = "1.0.44"
|
|
|
|
[dependencies.syn]
|
|
version = "2.0.21"
|
|
features = ["extra-traits"]
|
|
|
|
[dev-dependencies.bincode]
|
|
version = "1.3.1"
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1.0.220"
|
|
features = ["derive"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1.0.45"
|
|
|
|
[lints.clippy]
|
|
alloc-instead-of-core = "warn"
|
|
branches-sharing-code = "warn"
|
|
collection_is_never_read = "warn"
|
|
crosspointer_transmute = "warn"
|
|
dbg_macro = "warn"
|
|
debug_assert_with_mut_call = "warn"
|
|
doc_markdown = "warn"
|
|
exhaustive_enums = "deny"
|
|
exhaustive_structs = "deny"
|
|
fn_to_numeric_cast_any = "warn"
|
|
infinite_loop = "warn"
|
|
large_stack_arrays = "warn"
|
|
mismatching_type_param_order = "warn"
|
|
missing_fields_in_debug = "warn"
|
|
missing_transmute_annotations = "warn"
|
|
negative_feature_names = "warn"
|
|
or-fun-call = "warn"
|
|
same_functions_in_if_condition = "warn"
|
|
todo = "warn"
|
|
transmute_bytes_to_str = "warn"
|
|
transmute_int_to_bool = "warn"
|
|
transmute_int_to_non_zero = "warn"
|
|
transmute_ptr_to_ptr = "warn"
|
|
transmute_ptr_to_ref = "warn"
|
|
transmute_undefined_repr = "warn"
|
|
transmutes_expressible_as_ptr_casts = "warn"
|
|
trivially_copy_pass_by_ref = "deny"
|
|
unnecessary-wraps = "warn"
|
|
useless_transmute = "warn"
|
|
wildcard_dependencies = "warn"
|
|
|
|
[lints.rust]
|
|
missing_debug_implementations = "deny"
|
|
trivial_numeric_casts = "deny"
|
|
unused_lifetimes = "warn"
|
|
unused_macro_rules = "warn"
|
|
unused_qualifications = "warn"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = [
|
|
"cfg(icu4c_enable_renaming)",
|
|
"cfg(needs_alloc_error_handler)",
|
|
"cfg(icu4x_run_size_tests)",
|
|
"cfg(icu4x_unstable_fast_trie_only)",
|
|
]
|