speechmarkdown-rust 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/.github/workflows/publish.yml +18 -15
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/Cargo.toml +1 -1
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/PKG-INFO +1 -1
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/dotnet/SpeechMarkdown.nuspec +1 -1
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/python/Cargo.lock +2 -2
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/python/Cargo.toml +1 -1
- speechmarkdown_rust-0.2.3/bindings/python/dist/speechmarkdown_rust-0.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/build-swift-package.sh +24 -21
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/pyproject.toml +1 -1
- speechmarkdown_rust-0.2.2/bindings/python/dist/speechmarkdown_rust-0.2.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/.gitconfig +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/.github/workflows/ci.yml +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/.gitignore +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/Package.swift +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/README.md +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/dotnet/SpeechMarkdown.cs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/dotnet/SpeechMarkdown.targets +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/python/README.md +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/python/speechmarkdown.pyi +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/python/src/lib.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/speechmarkdown.h +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/swift/Example.swift +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/swift/Package.swift +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/swift/Sources/CSpeechMarkdown/dummy.c +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/swift/Sources/CSpeechMarkdown/include/module.modulemap +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/swift/Sources/CSpeechMarkdown/include/shim.h +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/swift/Sources/CSpeechMarkdown/include/speechmarkdown.h +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/swift/Sources/CSpeechMarkdown/module.modulemap +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/swift/Sources/SpeechMarkdown/SpeechMarkdown.swift +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/swift/SpeechMarkdown.swift +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/swift/module.modulemap +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/build.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/cbindgen.toml +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/ast.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/capabilities.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/error.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/ffi.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/formatters/base.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/formatters/mod.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/formatters/ssml/amazon_alexa.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/formatters/ssml/base.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/formatters/ssml/google_assistant.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/formatters/ssml/microsoft_azure.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/formatters/ssml/mod.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/formatters/text.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/grammar.pest +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/lib.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/parser/mod.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/parser/parser.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/ssml_to_smd.rs +0 -0
- {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/tests/ffi_test.rs +0 -0
|
@@ -366,31 +366,34 @@ jobs:
|
|
|
366
366
|
PREP=$(mktemp -d)
|
|
367
367
|
|
|
368
368
|
# macOS universal (arm64 + x86_64)
|
|
369
|
-
mkdir -p "$PREP/macos-arm64_x86_64"
|
|
369
|
+
mkdir -p "$PREP/macos-arm64_x86_64/lib"
|
|
370
|
+
mkdir -p "$PREP/macos-arm64_x86_64/headers"
|
|
370
371
|
lipo -create \
|
|
371
372
|
target/aarch64-apple-darwin/release/libspeechmarkdown_rust.a \
|
|
372
373
|
target/x86_64-apple-darwin/release/libspeechmarkdown_rust.a \
|
|
373
|
-
-output "$PREP/macos-arm64_x86_64/libspeechmarkdown_rust.a"
|
|
374
|
-
strip -x "$PREP/macos-arm64_x86_64/libspeechmarkdown_rust.a"
|
|
375
|
-
cp bindings/speechmarkdown.h bindings/swift/Sources/CSpeechMarkdown/shim.h bindings/swift/Sources/CSpeechMarkdown/module.modulemap "$PREP/macos-arm64_x86_64/"
|
|
374
|
+
-output "$PREP/macos-arm64_x86_64/lib/libspeechmarkdown_rust.a"
|
|
375
|
+
strip -x "$PREP/macos-arm64_x86_64/lib/libspeechmarkdown_rust.a"
|
|
376
|
+
cp bindings/speechmarkdown.h bindings/swift/Sources/CSpeechMarkdown/include/shim.h bindings/swift/Sources/CSpeechMarkdown/module.modulemap "$PREP/macos-arm64_x86_64/headers/"
|
|
376
377
|
|
|
377
378
|
# iOS device (arm64)
|
|
378
|
-
mkdir -p "$PREP/ios-arm64"
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
379
|
+
mkdir -p "$PREP/ios-arm64/lib"
|
|
380
|
+
mkdir -p "$PREP/ios-arm64/headers"
|
|
381
|
+
cp target/aarch64-apple-ios/release/libspeechmarkdown_rust.a "$PREP/ios-arm64/lib/"
|
|
382
|
+
strip -x "$PREP/ios-arm64/lib/libspeechmarkdown_rust.a"
|
|
383
|
+
cp bindings/speechmarkdown.h bindings/swift/Sources/CSpeechMarkdown/include/shim.h bindings/swift/Sources/CSpeechMarkdown/module.modulemap "$PREP/ios-arm64/headers/"
|
|
382
384
|
|
|
383
385
|
# iOS simulator (arm64)
|
|
384
|
-
mkdir -p "$PREP/ios-arm64-sim"
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
386
|
+
mkdir -p "$PREP/ios-arm64-sim/lib"
|
|
387
|
+
mkdir -p "$PREP/ios-arm64-sim/headers"
|
|
388
|
+
cp target/aarch64-apple-ios-sim/release/libspeechmarkdown_rust.a "$PREP/ios-arm64-sim/lib/"
|
|
389
|
+
strip -x "$PREP/ios-arm64-sim/lib/libspeechmarkdown_rust.a"
|
|
390
|
+
cp bindings/speechmarkdown.h bindings/swift/Sources/CSpeechMarkdown/include/shim.h bindings/swift/Sources/CSpeechMarkdown/module.modulemap "$PREP/ios-arm64-sim/headers/"
|
|
388
391
|
|
|
389
392
|
# Create multi-platform XCFramework
|
|
390
393
|
xcodebuild -create-xcframework \
|
|
391
|
-
-library "$PREP/macos-arm64_x86_64/libspeechmarkdown_rust.a" -headers "$PREP/macos-arm64_x86_64/" \
|
|
392
|
-
-library "$PREP/ios-arm64/libspeechmarkdown_rust.a" -headers "$PREP/ios-arm64/" \
|
|
393
|
-
-library "$PREP/ios-arm64-sim/libspeechmarkdown_rust.a" -headers "$PREP/ios-arm64-sim/" \
|
|
394
|
+
-library "$PREP/macos-arm64_x86_64/lib/libspeechmarkdown_rust.a" -headers "$PREP/macos-arm64_x86_64/headers/" \
|
|
395
|
+
-library "$PREP/ios-arm64/lib/libspeechmarkdown_rust.a" -headers "$PREP/ios-arm64/headers/" \
|
|
396
|
+
-library "$PREP/ios-arm64-sim/lib/libspeechmarkdown_rust.a" -headers "$PREP/ios-arm64-sim/headers/" \
|
|
394
397
|
-output "$PREP/SpeechMarkdownRust.xcframework"
|
|
395
398
|
|
|
396
399
|
# Assemble Swift package
|
{speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/dotnet/SpeechMarkdown.nuspec
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<package>
|
|
3
3
|
<metadata>
|
|
4
4
|
<id>SpeechMarkdown</id>
|
|
5
|
-
<version>0.2.
|
|
5
|
+
<version>0.2.3</version>
|
|
6
6
|
<title>SpeechMarkdown</title>
|
|
7
7
|
<authors>SpeechMarkdown Contributors</authors>
|
|
8
8
|
<description>SpeechMarkdown parser - convert SpeechMarkdown syntax to SSML for Alexa, Google Assistant, Azure, and more.</description>
|
|
@@ -209,7 +209,7 @@ dependencies = [
|
|
|
209
209
|
|
|
210
210
|
[[package]]
|
|
211
211
|
name = "speechmarkdown-python"
|
|
212
|
-
version = "0.2.
|
|
212
|
+
version = "0.2.3"
|
|
213
213
|
dependencies = [
|
|
214
214
|
"pyo3",
|
|
215
215
|
"serde_json",
|
|
@@ -218,7 +218,7 @@ dependencies = [
|
|
|
218
218
|
|
|
219
219
|
[[package]]
|
|
220
220
|
name = "speechmarkdown-rust"
|
|
221
|
-
version = "0.2.
|
|
221
|
+
version = "0.2.3"
|
|
222
222
|
dependencies = [
|
|
223
223
|
"quick-xml",
|
|
224
224
|
"serde",
|
|
Binary file
|
|
@@ -24,37 +24,40 @@ echo "Preparing XCFramework..."
|
|
|
24
24
|
PREP_DIR=$(mktemp -d)
|
|
25
25
|
|
|
26
26
|
# macOS universal (arm64 + x86_64)
|
|
27
|
-
mkdir -p "$PREP_DIR/macos-arm64_x86_64"
|
|
27
|
+
mkdir -p "$PREP_DIR/macos-arm64_x86_64/lib"
|
|
28
|
+
mkdir -p "$PREP_DIR/macos-arm64_x86_64/headers"
|
|
28
29
|
lipo -create \
|
|
29
30
|
"$REPO_ROOT/target/aarch64-apple-darwin/release/libspeechmarkdown_rust.a" \
|
|
30
31
|
"$REPO_ROOT/target/x86_64-apple-darwin/release/libspeechmarkdown_rust.a" \
|
|
31
|
-
-output "$PREP_DIR/macos-arm64_x86_64/libspeechmarkdown_rust.a"
|
|
32
|
-
strip -x "$PREP_DIR/macos-arm64_x86_64/libspeechmarkdown_rust.a"
|
|
33
|
-
cp "$REPO_ROOT/bindings/speechmarkdown.h" "$PREP_DIR/macos-arm64_x86_64/"
|
|
34
|
-
cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/include/shim.h" "$PREP_DIR/macos-arm64_x86_64/"
|
|
35
|
-
cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/module.modulemap" "$PREP_DIR/macos-arm64_x86_64/"
|
|
32
|
+
-output "$PREP_DIR/macos-arm64_x86_64/lib/libspeechmarkdown_rust.a"
|
|
33
|
+
strip -x "$PREP_DIR/macos-arm64_x86_64/lib/libspeechmarkdown_rust.a"
|
|
34
|
+
cp "$REPO_ROOT/bindings/speechmarkdown.h" "$PREP_DIR/macos-arm64_x86_64/headers/"
|
|
35
|
+
cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/include/shim.h" "$PREP_DIR/macos-arm64_x86_64/headers/"
|
|
36
|
+
cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/module.modulemap" "$PREP_DIR/macos-arm64_x86_64/headers/"
|
|
36
37
|
|
|
37
38
|
# iOS device (arm64)
|
|
38
|
-
mkdir -p "$PREP_DIR/ios-arm64"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
cp "$REPO_ROOT/bindings/
|
|
43
|
-
cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/
|
|
39
|
+
mkdir -p "$PREP_DIR/ios-arm64/lib"
|
|
40
|
+
mkdir -p "$PREP_DIR/ios-arm64/headers"
|
|
41
|
+
cp "$REPO_ROOT/target/aarch64-apple-ios/release/libspeechmarkdown_rust.a" "$PREP_DIR/ios-arm64/lib/"
|
|
42
|
+
strip -x "$PREP_DIR/ios-arm64/lib/libspeechmarkdown_rust.a"
|
|
43
|
+
cp "$REPO_ROOT/bindings/speechmarkdown.h" "$PREP_DIR/ios-arm64/headers/"
|
|
44
|
+
cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/include/shim.h" "$PREP_DIR/ios-arm64/headers/"
|
|
45
|
+
cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/module.modulemap" "$PREP_DIR/ios-arm64/headers/"
|
|
44
46
|
|
|
45
47
|
# iOS simulator (arm64)
|
|
46
|
-
mkdir -p "$PREP_DIR/ios-arm64-sim"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
cp "$REPO_ROOT/bindings/
|
|
51
|
-
cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/
|
|
48
|
+
mkdir -p "$PREP_DIR/ios-arm64-sim/lib"
|
|
49
|
+
mkdir -p "$PREP_DIR/ios-arm64-sim/headers"
|
|
50
|
+
cp "$REPO_ROOT/target/aarch64-apple-ios-sim/release/libspeechmarkdown_rust.a" "$PREP_DIR/ios-arm64-sim/lib/"
|
|
51
|
+
strip -x "$PREP_DIR/ios-arm64-sim/lib/libspeechmarkdown_rust.a"
|
|
52
|
+
cp "$REPO_ROOT/bindings/speechmarkdown.h" "$PREP_DIR/ios-arm64-sim/headers/"
|
|
53
|
+
cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/include/shim.h" "$PREP_DIR/ios-arm64-sim/headers/"
|
|
54
|
+
cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/module.modulemap" "$PREP_DIR/ios-arm64-sim/headers/"
|
|
52
55
|
|
|
53
56
|
rm -rf "$PREP_DIR/SpeechMarkdownRust.xcframework"
|
|
54
57
|
xcodebuild -create-xcframework \
|
|
55
|
-
-library "$PREP_DIR/macos-arm64_x86_64/libspeechmarkdown_rust.a" -headers "$PREP_DIR/macos-arm64_x86_64/" \
|
|
56
|
-
-library "$PREP_DIR/ios-arm64/libspeechmarkdown_rust.a" -headers "$PREP_DIR/ios-arm64/" \
|
|
57
|
-
-library "$PREP_DIR/ios-arm64-sim/libspeechmarkdown_rust.a" -headers "$PREP_DIR/ios-arm64-sim/" \
|
|
58
|
+
-library "$PREP_DIR/macos-arm64_x86_64/lib/libspeechmarkdown_rust.a" -headers "$PREP_DIR/macos-arm64_x86_64/headers/" \
|
|
59
|
+
-library "$PREP_DIR/ios-arm64/lib/libspeechmarkdown_rust.a" -headers "$PREP_DIR/ios-arm64/headers/" \
|
|
60
|
+
-library "$PREP_DIR/ios-arm64-sim/lib/libspeechmarkdown_rust.a" -headers "$PREP_DIR/ios-arm64-sim/headers/" \
|
|
58
61
|
-output "$PREP_DIR/SpeechMarkdownRust.xcframework"
|
|
59
62
|
|
|
60
63
|
echo "Assembling Swift package..."
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/bindings/dotnet/SpeechMarkdown.targets
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/formatters/ssml/google_assistant.rs
RENAMED
|
File without changes
|
{speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.3}/src/formatters/ssml/microsoft_azure.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|