omp-core 0.1.0

Core data structures, compact strings and bytes, sparse collections, and binary-to-text encodings for omp
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 = "2024"
name = "omp-core"
version = "0.1.0"
authors = ["Can Boluk"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core data structures, compact strings and bytes, sparse collections, and binary-to-text encodings for omp"
homepage = "https://omp.sh/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/can1357/omp"

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

[[test]]
name = "base_n"
path = "tests/base_n.rs"

[[test]]
name = "encoding"
path = "tests/encoding.rs"

[[test]]
name = "hex"
path = "tests/hex.rs"

[[test]]
name = "sparse"
path = "tests/sparse.rs"

[[test]]
name = "sparse_container"
path = "tests/sparse_container.rs"

[dependencies.bytes]
version = "1.12.1"
features = ["serde"]

[dependencies.bytes-utils]
version = "0.1.4"
features = ["serde"]

[dependencies.heapless]
version = "0.9.3"
features = ["serde"]

[dependencies.parking_lot_core]
version = "0.9.12"

[dependencies.serde]
version = "1.0.229"
features = [
    "derive",
    "rc",
]

[dependencies.smallvec]
version = "2.0.0-alpha.12"
features = ["serde"]

[dependencies.smol_bitmap]
version = "0.3.2"
features = ["serde"]

[dependencies.thiserror]
version = "2.0.20"

[dev-dependencies.postcard]
version = "1.1.3"
features = ["alloc"]

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.serde_json]
version = "1.0.151"
features = [
    "preserve_order",
    "raw_value",
]

[lints.clippy]
allow_attributes_without_reason = "warn"
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_ptr_alignment = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
disallowed_methods = "deny"
disallowed_types = "deny"
enum_glob_use = "allow"
float_cmp = "allow"
inconsistent_struct_constructor = "allow"
inline_always = "allow"
items_after_statements = "allow"
let_underscore_untyped = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
ptr_as_ptr = "allow"
redundant_closure_for_method_calls = "allow"
ref_as_ptr = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
tabs_in_doc_comments = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
tuple_array_conversions = "allow"
undocumented_unsafe_blocks = "warn"
unreadable_literal = "allow"
unsafe_derive_deserialize = "allow"
verbose_bit_mask = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
mismatched_lifetime_syntaxes = "allow"
missing_docs = "warn"