cadkit-capi 0.5.3

Stable C ABI (and C++ header) for cadkit.
Documentation
  • Coverage
  • 100%
    82 out of 82 items documented0 out of 36 items with examples
  • Size
  • Source code size: 143.0 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 610.8 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • TNYCL/cadkit
    6 1 7
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • TNYCL

cadkit-capi

Stable C ABI and C++ header for cadkit: read DWG, DGN, DXF and CityGML 2.0 drawings and write DXF, DGN V8, CityGML 2.0, SVG and JSON from C or C++.

The crate builds cadkit_capi as a shared library (cdylib), a static library (staticlib) and an rlib. The headers are include/cadkit.h (C99) and include/cadkit.hpp (C++17); cadkit.h documents status codes, ownership and threading.

Prebuilt libraries

Most C and C++ users want the prebuilt archives on GitHub Releases (cadkit-capi-<target>, with headers, shared and static libraries) for Linux (glibc 2.28+), macOS and Windows x64.

Building from source

cargo build -p cadkit-capi --release

The libraries land in target/release. The C and C++ examples and the CMake files live in the repository and build against a workspace checkout.

License

MIT OR Apache-2.0.