The last release before JSONPrism moves to maintenance mode.
- Dependencies at their latest releases, superseding Dependabot
#183-#191. i18next 27.1.3, react-i18next 18.0.2 and jsdom 31.0.1 are
majors; cargo update within semver (wry 0.57.2, tauri-plugin-opener
2.7.3); sonarqube-scan-action 8.5.0 and setup-java 6.3.0.
THIRD-PARTY.md is re-synced with both lockfiles.
- Qodana: a new workflow runs Qodana for JS (native mode) and Qodana for
Rust (EAP, Docker, as root with a bootstrap for the C toolchain and
GTK/WebKit headers). Both report to Qodana Cloud.
- Qodana findings, all fixed or documented:
- React types are imported instead of read from the UMD global.
- XMLBuilder comes from fast-xml-builder; XMLValidator stays, with a
documented suppression.
- act() calls in tests are synchronous.
- The Range geometry test stub is shared.
- Small regex and boolean cleanups.
- Two false positives are excluded with their reasons: a secret
reference, and serde_json, which tauri::generate_context!() needs.
- Maintenance mode:
- status badge and section in both READMEs;
- the policy in CONTRIBUTING;
- converter and translation issue templates;
- a Scope checklist in the PR template;
- ROADMAP Phase 11;
- maintenance-triage.yml closes out-of-scope feature requests with a
bilingual comment;
- a Dependabot group for the two fast-xml packages.
- Release 2.2.1: versionCode 20201, CHANGELOG.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
1.4 KiB
TOML
47 lines
1.4 KiB
TOML
[package]
|
|
name = "jsonprism"
|
|
version = "2.2.1"
|
|
description = "Disperse JSON into many formats."
|
|
authors = ["poli0981 <code@poli0981.dev>"]
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/poli0981/jsonPrism"
|
|
homepage = "https://jsonprism.poli0981.dev"
|
|
edition = "2021"
|
|
rust-version = "1.90"
|
|
|
|
# Disable the default `main.rs` binary lookup; we want a library + bin.
|
|
[lib]
|
|
name = "jsonprism_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-dialog = "2"
|
|
tauri-plugin-fs = "2"
|
|
tauri-plugin-opener = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
# Not referenced in src/, but the code tauri::generate_context!() expands to
|
|
# uses ::serde_json, so it has to stay a direct dependency.
|
|
serde_json = "1"
|
|
|
|
# Desktop-only: prevent multiple JSONPrism windows / processes when the user
|
|
# launches the app while it's already open. The plugin focuses the existing
|
|
# window instead of spawning a new instance.
|
|
[target.'cfg(any(target_os = "windows", target_os = "macos", target_os = "linux"))'.dependencies]
|
|
tauri-plugin-single-instance = "2"
|
|
|
|
[features]
|
|
# this feature is used for production builds or when `devUrl` points to the
|
|
# filesystem and the built-in dev server is disabled.
|
|
custom-protocol = ["tauri/custom-protocol"]
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = "s"
|
|
strip = true
|