[workspace]
members = ["simple-dst-derive"]
[workspace.package]
version = "0.2.0"
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/FintasticMan/simple-dst"
keywords = ["dst", "types", "slice"]
categories = ["data-structures", "memory-management", "no-std", "no-std::no-alloc", "rust-patterns"]
rust-version = "1.95"
[package]
name = "simple-dst"
description = "Traits for allocating and using custom DSTs."
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version.workspace = true
[dependencies]
simple-dst-derive = { version = "0.2.0", path = "simple-dst-derive", optional = true }
[features]
default = ["alloc", "derive"]
alloc = []
derive = ["simple-dst-derive"]
simple-dst-derive = ["dep:simple-dst-derive"]
[workspace.lints.rust]
deprecated-safe = "warn"
keyword-idents = "warn"
let-underscore = "warn"
rust-2018-idioms = "warn"
unused = "warn"
[workspace.lints.clippy]
pedantic = "warn"
cargo = "warn"
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
dbg_macro = "warn"
default_union_representation = "warn"
doc_paragraphs_missing_punctuation = "warn"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
expect_used = "warn"
field_scoped_visibility_modifiers = "warn"
float_cmp_const = "warn"
if_then_some_else_none = "warn"
impl_trait_in_params = "warn"
indexing_slicing = "warn"
infinite_loop = "warn"
lossy_float_literal = "warn"
map_err_ignore = "warn"
map_with_unused_argument_over_ranges = "warn"
missing_assert_message = "warn"
mixed_read_write_in_expression = "warn"
module_name_repetitions = "warn"
non_zero_suggestions = "warn"
partial_pub_fields = "warn"
print_stderr = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_test_prefix = "warn"
redundant_type_annotations = "warn"
ref_patterns = "warn"
renamed_function_params = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_and_then = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
str_to_string = "warn"
tests_outside_test_module = "warn"
try_err = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnecessary_self_imports = "warn"
unused_result_ok = "warn"
unused_trait_names = "warn"
unwrap_used = "warn"
verbose_file_reads = "warn"
[lints]
workspace = true