[package]
edition = "2021"
name = "acadrust"
version = "0.2.0"
authors = ["Hakan AK"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure Rust library for reading and writing CAD files in DXF format (ASCII and Binary)"
homepage = "https://github.com/hakanaktt/acadrust"
documentation = "https://docs.rs/acadrust"
readme = "README.md"
keywords = [
"cad",
"dxf",
"autocad",
"drawing",
"vector-graphics",
]
categories = [
"parser-implementations",
"encoding",
]
license = "MPL-2.0"
repository = "https://github.com/hakanaktt/acadrust"
[lib]
name = "acadrust"
path = "src/lib.rs"
[[example]]
name = "gen_all_entities_all_versions"
path = "examples/gen_all_entities_all_versions.rs"
[[test]]
name = "all_entities_output_test"
path = "tests/all_entities_output_test.rs"
[[test]]
name = "cad_roundtrip_output"
path = "tests/cad_roundtrip_output.rs"
[[test]]
name = "comprehensive_entity_test"
path = "tests/comprehensive_entity_test.rs"
[[test]]
name = "dxf_reading_tests"
path = "tests/dxf_reading_tests.rs"
[[test]]
name = "individual_entity_test"
path = "tests/individual_entity_test.rs"
[[test]]
name = "reference_samples"
path = "tests/reference_samples.rs"
[dependencies.ahash]
version = "0.8"
[dependencies.anyhow]
version = "1.0"
[dependencies.bitflags]
version = "2.4"
[dependencies.byteorder]
version = "1.5"
[dependencies.encoding_rs]
version = "0.8"
[dependencies.flate2]
version = "1.0"
[dependencies.indexmap]
version = "2.0"
[dependencies.nalgebra]
version = "0.32"
[dependencies.nom]
version = "7.1"
[dependencies.once_cell]
version = "1.19"
[dependencies.rayon]
version = "1.7"
[dependencies.thiserror]
version = "1.0"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.proptest]
version = "1.4"
[profile.bench]
inherits = "release"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1