mirror of
https://github.com/duhanbalci/dreport.git
synced 2026-07-01 18:39:16 +00:00
Extract orchestration (font registry + render pipeline) from the Axum backend into a standalone dreport-service crate. Backend becomes a thin HTTP adapter on top. Add dreport-ffi (cdylib) exposing the service through a stable C ABI with opaque handles, byte buffers, and thread-local error reporting. Build Dreport.Service + Dreport.AspNetCore NuGet packages under bindings/dotnet/, packing the host RID native binary via a generated nuspec. justfile recipes (nuget-publish, nuget-publish-all) build, pack, and push to the Gitea NuGet registry in one shot. Test coverage: 47 Rust + 38 C# (xUnit + WebApplicationFactory). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
22 lines
556 B
TOML
22 lines
556 B
TOML
[package]
|
|
name = "dreport-service"
|
|
version = "0.2.0"
|
|
edition = "2024"
|
|
description = "High-level orchestration service for dreport (font registry + render pipeline)"
|
|
license = "MIT"
|
|
publish = ["gitea"]
|
|
|
|
[dependencies]
|
|
dreport-core = { version = "0.2.0", path = "../core", registry = "gitea" }
|
|
dreport-layout = { version = "0.2.0", path = "../layout-engine", registry = "gitea" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
thiserror = "2"
|
|
|
|
[features]
|
|
default = ["embedded-fonts"]
|
|
embedded-fonts = []
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|