Skip to content

Commit 2d0a55e

Browse files
fix : 2.1.0
1 parent ec4ffa3 commit 2d0a55e

75 files changed

Lines changed: 10653 additions & 2681 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 11 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,20 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
include:
14-
# au (AUv2 hosting) is macOS-only; gui pulls mkgraphic, verified
15-
# here on macOS only (its Windows/Linux windowing support isn't
16-
# established, so it's left out of the blocking matrix below -
17-
# see the separate non-blocking probe step for Linux/Windows).
14+
# au (AUv2 hosting) is macOS-only. gui (mkapk-core/mkapk-host) is
15+
# pure Rust with no platform-specific windowing dependencies, so
16+
# it's safe in the blocking matrix on every OS - unlike the old
17+
# mkgraphic-backed gui feature, which needed a separate
18+
# non-blocking Linux/Windows probe job.
19+
# sim-neon/sim-avx2 are added per-arch: GitHub's macos-latest
20+
# runners are Apple Silicon (aarch64/NEON); windows-latest and
21+
# ubuntu-latest are x86_64 (AVX2).
1822
- os: macos-latest
19-
features: realtime,simd,vst3,au,midi,gui
23+
features: realtime,simd,vst3,au,midi,gui,sim,sim-neon
2024
- os: windows-latest
21-
features: realtime,simd,vst3,midi
25+
features: realtime,simd,vst3,midi,gui,sim,sim-avx2
2226
- os: ubuntu-latest
23-
features: realtime,simd,vst3,midi
27+
features: realtime,simd,vst3,midi,gui,sim,sim-avx2
2428

2529
steps:
2630
- name: Checkout repository
@@ -54,29 +58,3 @@ jobs:
5458

5559
- name: Build examples
5660
run: cargo build --examples --features "${{ matrix.features }}"
57-
58-
# Non-blocking probe: mkgraphic's Windows/Linux windowing support isn't
59-
# confirmed, so `gui` isn't in the blocking matrix above for those OSes.
60-
# This surfaces a build failure without turning the required checks red.
61-
gui-feature-probe:
62-
runs-on: ${{ matrix.os }}
63-
continue-on-error: true
64-
strategy:
65-
fail-fast: false
66-
matrix:
67-
os: [windows-latest, ubuntu-latest]
68-
steps:
69-
- name: Checkout repository
70-
uses: actions/checkout@v4
71-
72-
- name: Install Rust stable
73-
uses: dtolnay/rust-toolchain@stable
74-
75-
- name: Install Linux build dependencies
76-
if: runner.os == 'Linux'
77-
run: |
78-
sudo apt-get update
79-
sudo apt-get install -y libasound2-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
80-
81-
- name: Build with gui feature
82-
run: cargo build --features gui

Cargo.toml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "mkaudiolibrary"
33
description = "Modular audio processing library including MKAU plugin format based on Rust."
44
license = "MIT"
5-
version = "2.0.0"
5+
version = "2.1.0"
66
edition = "2024"
77
documentation = "https://docs.rs/mkaudiolibrary"
88
readme = "README.md"
@@ -18,15 +18,26 @@ default = []
1818
realtime = ["dep:coreaudio-sys", "dep:windows", "dep:alsa"]
1919
simd = []
2020
midi = ["mkmidilibrary"]
21-
gui = ["mkgraphic"]
21+
gui = ["dep:mkapk-core", "dep:mkapk-host"]
2222
vst3 = ["dep:coreaudio-sys"]
2323
au = ["dep:coreaudio-sys"]
24+
# Analog circuit simulation (tubes, diodes, transistors, WDF networks),
25+
sim = []
26+
# f32 SIMD backends for `sim`'s internal math (independent of the `simd` feature above).
27+
sim-avx2 = ["sim"]
28+
sim-avx512 = ["sim"]
29+
sim-neon = ["sim"]
2430

2531
[dependencies]
2632
libloading = "0.9"
2733
no_denormals = "0.3"
2834
mkmidilibrary = { version = "0.2", optional = true }
29-
mkgraphic = { version = "0.4", optional = true }
35+
# Plugin-GUI framework (widget tree, geometry, paint commands, and the
36+
# PluginEditor/EditorHost parent-window-embedding traits) - a better fit
37+
# than a general-purpose windowing crate since it's built for hosted
38+
# plugin editors (VST3/AU/MKAP), not standalone application windows.
39+
mkapk-core = { version = "0.1", optional = true }
40+
mkapk-host = { version = "0.1", optional = true }
3041

3142
[target.'cfg(target_os = "macos")'.dependencies]
3243
coreaudio-sys = { version = "0.2.18", optional = true }

0 commit comments

Comments
 (0)