offroad 0.5.7

2D offsetting for arc polylines/polygons.
Documentation
[package]
name = "offroad"
version = "0.5.7"
description = "2D offsetting for arc polylines/polygons."
rust-version = "1.88"
edition = "2024"
categories = ["algorithms", "data-structures", "graphics", "mathematics"]
keywords = ["offset", "arc", "polyline", "cnc", "polygon"]
license = "MIT"
homepage = "https://github.com/radevgit/offroad"
repository = "https://github.com/radevgit/offroad"
documentation = "https://docs.rs/offroad"
readme = "README.md"



[dependencies]
togo = "0.7"
aabb = "0.7"
robust = "1.2"

[lib]
crate-type = ["lib"]

[dev-dependencies]
rand = "0.9.2"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
opt-level = 3
#debug = 1

[[bench]]
name = "bench_offset_multiple"
harness = false

[[bench]]
name = "bench_offset_multiple200"
harness = false

[[bench]]
name = "bench_offset_multiple500"
harness = false

[[bench]]
name = "bench_offset_multiple1000"
harness = false

[workspace.lints]
rust.unsafe_code = "forbid"


# LINEBENDER LINT SET - Cargo.toml - v2
# See https://linebender.org/wiki/canonical-lints/
rust.keyword_idents_2024 = "forbid"
rust.non_ascii_idents = "forbid"
rust.non_local_definitions = "forbid"
rust.unsafe_op_in_unsafe_fn = "forbid"

rust.elided_lifetimes_in_paths = "warn"
rust.let_underscore_drop = "warn"
rust.missing_debug_implementations = "warn"
rust.missing_docs = "warn"
rust.single_use_lifetimes = "warn"
rust.trivial_numeric_casts = "warn"
# Setting check-cfg can be removed once we fix the benchmarks.
rust.unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
rust.unit_bindings = "warn"
rust.unnameable_types = "warn"
rust.unreachable_pub = "warn"
rust.unused_import_braces = "warn"
rust.unused_lifetimes = "warn"
rust.unused_macro_rules = "warn"
rust.unused_qualifications = "warn"
rust.variant_size_differences = "warn"

clippy.unused_results = "deny"
clippy.allow_attributes = "warn"
clippy.allow_attributes_without_reason = "warn"
clippy.cast_possible_truncation = "warn"
clippy.collection_is_never_read = "warn"
clippy.dbg_macro = "warn"
clippy.debug_assert_with_mut_call = "warn"
clippy.doc_markdown = "warn"
clippy.exhaustive_enums = "warn"
clippy.fn_to_numeric_cast_any = "forbid"
clippy.infinite_loop = "warn"
clippy.large_include_file = "warn"
clippy.large_stack_arrays = "warn"
clippy.match_same_arms = "warn"
clippy.mismatching_type_param_order = "warn"
clippy.missing_assert_message = "warn"
clippy.missing_errors_doc = "warn"
clippy.missing_fields_in_debug = "warn"
clippy.missing_panics_doc = "warn"
clippy.partial_pub_fields = "warn"
clippy.return_self_not_must_use = "warn"
clippy.same_functions_in_if_condition = "warn"
clippy.semicolon_if_nothing_returned = "warn"
clippy.shadow_unrelated = "warn"
clippy.should_panic_without_expect = "warn"
clippy.todo = "warn"
clippy.trivially_copy_pass_by_ref = "warn"
clippy.unseparated_literal_suffix = "warn"
clippy.use_self = "warn"
clippy.wildcard_imports = "warn"

clippy.cargo_common_metadata = "warn"
clippy.negative_feature_names = "warn"
clippy.redundant_feature_names = "warn"
clippy.wildcard_dependencies = "warn"