# 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 = "2021"
name = "duc"
version = "3.2.2"
authors = ["Ducflair support@ducflair.com"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The duc 2D CAD file format Rust implementation."
readme = "README.md"
license = "MIT"
repository = "https://github.com/ducflair/duc/tree/main/packages/ducrs"

[features]
default = []
opfs = ["dep:sqlite-wasm-vfs"]

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

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

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

[dependencies.base64]
version = "0.21.5"

[dependencies.flate2]
version = "1.0"

[dependencies.fossil-delta]
version = "0.2"

[dependencies.lazy_static]
version = "1.4"

[dependencies.log]
version = "0.4.22"

[dependencies.percent-encoding]
version = "2.3.1"

[dependencies.rusqlite]
version = "0.38"
features = ["bundled"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_bytes]
version = "0.11"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_repr]
version = "0.1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.env_logger]
version = "0.10"

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.sqlite-wasm-vfs]
version = "0.2"
optional = true

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.wasm-bindgen]
version = "0.2"
