[dependencies]
[dev-dependencies.test_tools]
features = ["full"]
version = "~0.16.0"
[[example]]
name = "interval_adapter_more"
path = "examples/interval_adapter_more.rs"
[[example]]
name = "interval_adapter_non_iterable"
path = "examples/interval_adapter_non_iterable.rs"
[[example]]
name = "interval_adapter_trivial"
path = "examples/interval_adapter_trivial.rs"
[features]
default = ["enabled", "no_std"]
enabled = []
full = ["default"]
no_std = []
use_alloc = ["no_std"]
[lib]
name = "interval_adapter"
path = "src/lib.rs"
[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
cast_precision_loss = "allow"
doc_include_without_cfg = "warn"
implicit_return = "allow"
inline_always = "allow"
items_after_statements = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
pub_use = "allow"
question_mark_used = "allow"
single_call_fn = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "warn"
undocumented_unsafe_blocks = "deny"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe-code = "deny"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[package]
authors = ["Kostiantyn Wandalen <wandalen@obox.systems>", "Dmytro Kryvoruchko <dmytro.kr@obox.systems>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "development-tools"]
description = """
Interval adapter for both open/closed implementations of intervals ( ranges ).
"""
documentation = "https://docs.rs/interval_adapter"
edition = "2021"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/interval_adapter"
keywords = ["fundamental", "general-purpose"]
license = "MIT"
name = "interval_adapter"
readme = "readme.md"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/interval_adapter"
version = "0.35.0"
[package.metadata.docs.rs]
all-features = false
features = ["full"]
[[test]]
name = "interval_tests"
path = "tests/interval_tests.rs"
[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"