Files
marqdo-view/Cargo.toml
T
Marqdo View 340ecb035f
ci/woodpecker/push/woodpecker Pipeline was successful
feat: migrate View 0.3.0 to marqdo 3.0.0-rc.4 contracts
Replace the retired rc.2 Analysis v2/Trace v2/Execution Events v1 stack with the
single current contract family:

- Analysis v3 (ADR-0069 public boundary): one check --emit artifact carries the
  exact source, Markdown AST, heading scopes (heading_span + complete span),
  anchors, state-bearing references, calls, resources and diagnostics; the old
  revision-3 shape is rejected with a rebuild hint.
- Observation v1: one run/call --output jsonl stream (+ atomic
  --observation-file snapshot) decoded by one decoder and projected into the
  reader/SSE/export layers; stale/malformed/truncated/incomplete never render
  as success.
- CLI Tool revision 1: requires {api_revision:1, analysis:3, observation:1},
  product range >=3.0.0-rc.3,<4.0.0, only MARQDO_BIN and
  MARQDO_API_REVISION are consumed.
- Remove compatibility branches, retired flags/env vars and duplicate decoders;
  re-record Analysis v3 and Observation v1 fixtures; rewrite contract,
  integration and security tests (173 passing locally).
- Add check-no-legacy/check-docs/check-observation gates, rc.4 pins in the
  CI pipelines, 0.3.0 Tool bundle and evidence manifest support.

See issues #4, #5 and #6; acceptance baseline is CLI source
452e9a32bd9e40dba427d4180691c58bab74449e, archive
9c3f166b5e5b8840d39d10019074e4e1c42432fc23e26c69670e64fdcf4e15d8.
2026-11-25 22:12:51 +08:00

50 lines
1.2 KiB
TOML

[package]
name = "marqdo-view"
version = "0.3.0"
edition = "2021"
rust-version = "1.89"
license = "MIT OR Apache-2.0"
description = "Marqdo View: read .mq.md documents as documents, with optional verified Analysis v3 and Observation v1"
repository = "https://github.com/cflmy/marqdo-view"
readme = "README.md"
keywords = ["marqdo", "markdown", "reader", "executable-document"]
categories = ["command-line-utilities", "documentation"]
[[bin]]
name = "marqdo-view"
path = "src/main.rs"
[[test]]
name = "contract"
path = "tests/contract/main.rs"
[[test]]
name = "security"
path = "tests/security/main.rs"
[[test]]
name = "integration"
path = "tests/integration/main.rs"
[dependencies]
base64 = "0.22"
image = { version = "=0.25.8", default-features = false, features = ["png", "jpeg", "webp", "gif"] }
pulldown-latex = "=0.8.0"
roxmltree = "0.21"
clap = { version = "4.5", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
comrak = { version = "=1.0.0", default-features = false }
semver = "1"
tiny_http = "0.12"
zip = { version = "=4.6.1", default-features = false }
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"