Files
marqdo-cli/Cargo.toml
T
cflmy 847c2c1580 fix: float wire precision, native stack safety, refs diagnostics and fixtures
Findings from the conformance corpus workstream, all fixed at the source:

- value/wire: enable serde_json's float_roundtrip so typed wire floats keep
  their exact digits across foreign/plugin boundaries (Python pi*9 now stays
  28.274333882308138).
- host: default interpreter stack budget lowered to 128 frames so deeply
  recursive documents hit a structured resource.exhausted instead of exhausting
  the native debug-build Rust stack; --stack remains available.
- frontend/map: calling an external HTTP(S) link is reported as ref.unresolved
  (consistent with other unresolvable call targets) instead of math.unsupported.
- frontend/analyze: invalid front matter emits a single frontmatter.invalid
  diagnostic (the YAML error is not repeated by the imports pass).
- spec/mapping: clarify that would-be execution nodes outside any function body
  are inert with a markdown.inert_executable warning (no "return outside a
  function" hard-error claim).
- tests: add the conformance corpus and harness (150 AST goldens, 36 semantic
  goldens, 48 hard-error + 6 warning + 10 runtime-error negatives, CLI/module/
  plugin integration tests, prose-invariance properties) and update the
  three reported observations to the fixed behaviour.
2026-11-20 10:54:16 +08:00

60 lines
1.8 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/marqdo-span",
"crates/marqdo-value",
"crates/marqdo-expression",
"crates/marqdo-markdown",
"crates/marqdo-ir",
"crates/marqdo-frontend",
"crates/marqdo-math",
"crates/marqdo-foreign",
"crates/marqdo-plugin-abi",
"crates/marqdo-plugin-sdk",
"crates/marqdo-host",
"crates/marqdo-runtime",
"crates/marqdo-package",
"crates/marqdo-sandbox",
"crates/cli",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.82"
license = "MIT OR Apache-2.0"
repository = "https://github.com/cflmy/marqdo-cli"
authors = ["Marqdo contributors"]
[workspace.dependencies]
marqdo-span = { path = "crates/marqdo-span" }
marqdo-value = { path = "crates/marqdo-value" }
marqdo-expression = { path = "crates/marqdo-expression" }
marqdo-markdown = { path = "crates/marqdo-markdown" }
marqdo-ir = { path = "crates/marqdo-ir" }
marqdo-frontend = { path = "crates/marqdo-frontend" }
marqdo-math = { path = "crates/marqdo-math" }
marqdo-foreign = { path = "crates/marqdo-foreign" }
marqdo-plugin-abi = { path = "crates/marqdo-plugin-abi" }
marqdo-host = { path = "crates/marqdo-host" }
marqdo-runtime = { path = "crates/marqdo-runtime" }
marqdo-package = { path = "crates/marqdo-package" }
marqdo-sandbox = { path = "crates/marqdo-sandbox" }
comrak = { version = "=1.0.0", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["float_roundtrip"] }
serde_yaml = "0.9"
num-bigint = { version = "0.4", features = ["serde"] }
num-rational = { version = "0.4", features = ["serde"] }
num-traits = "0.2"
sha2 = "0.10"
hex = "0.4"
libloading = "0.8"
tempfile = "3"
thiserror = "2"
clap = { version = "4", features = ["derive"] }
walkdir = "2"
glob = "0.3"
unicode-normalization = "0.1"
unicode-ident = "1"