speechmarkdown-rust 0.2.2__tar.gz → 0.2.4__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.
Files changed (51) hide show
  1. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/.github/workflows/publish.yml +18 -15
  2. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/Cargo.toml +1 -1
  3. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/PKG-INFO +1 -1
  4. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/Package.swift +2 -2
  5. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/dotnet/SpeechMarkdown.nuspec +1 -1
  6. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/python/Cargo.lock +2 -2
  7. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/python/Cargo.toml +1 -1
  8. speechmarkdown_rust-0.2.4/bindings/python/dist/speechmarkdown_rust-0.2.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl +0 -0
  9. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/build-swift-package.sh +24 -21
  10. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/pyproject.toml +1 -1
  11. 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
  12. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/.gitconfig +0 -0
  13. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/.github/workflows/ci.yml +0 -0
  14. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/.gitignore +0 -0
  15. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/README.md +0 -0
  16. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/dotnet/SpeechMarkdown.cs +0 -0
  17. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/dotnet/SpeechMarkdown.targets +0 -0
  18. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/python/README.md +0 -0
  19. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/python/speechmarkdown.pyi +0 -0
  20. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/python/src/lib.rs +0 -0
  21. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/speechmarkdown.h +0 -0
  22. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/swift/Example.swift +0 -0
  23. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/swift/Package.swift +0 -0
  24. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/swift/Sources/CSpeechMarkdown/dummy.c +0 -0
  25. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/swift/Sources/CSpeechMarkdown/include/module.modulemap +0 -0
  26. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/swift/Sources/CSpeechMarkdown/include/shim.h +0 -0
  27. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/swift/Sources/CSpeechMarkdown/include/speechmarkdown.h +0 -0
  28. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/swift/Sources/CSpeechMarkdown/module.modulemap +0 -0
  29. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/swift/Sources/SpeechMarkdown/SpeechMarkdown.swift +0 -0
  30. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/swift/SpeechMarkdown.swift +0 -0
  31. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/bindings/swift/module.modulemap +0 -0
  32. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/build.rs +0 -0
  33. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/cbindgen.toml +0 -0
  34. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/ast.rs +0 -0
  35. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/capabilities.rs +0 -0
  36. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/error.rs +0 -0
  37. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/ffi.rs +0 -0
  38. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/formatters/base.rs +0 -0
  39. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/formatters/mod.rs +0 -0
  40. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/formatters/ssml/amazon_alexa.rs +0 -0
  41. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/formatters/ssml/base.rs +0 -0
  42. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/formatters/ssml/google_assistant.rs +0 -0
  43. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/formatters/ssml/microsoft_azure.rs +0 -0
  44. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/formatters/ssml/mod.rs +0 -0
  45. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/formatters/text.rs +0 -0
  46. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/grammar.pest +0 -0
  47. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/lib.rs +0 -0
  48. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/parser/mod.rs +0 -0
  49. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/parser/parser.rs +0 -0
  50. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/src/ssml_to_smd.rs +0 -0
  51. {speechmarkdown_rust-0.2.2 → speechmarkdown_rust-0.2.4}/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
- cp target/aarch64-apple-ios/release/libspeechmarkdown_rust.a "$PREP/ios-arm64/"
380
- strip -x "$PREP/ios-arm64/libspeechmarkdown_rust.a"
381
- cp bindings/speechmarkdown.h bindings/swift/Sources/CSpeechMarkdown/shim.h bindings/swift/Sources/CSpeechMarkdown/module.modulemap "$PREP/ios-arm64/"
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
- cp target/aarch64-apple-ios-sim/release/libspeechmarkdown_rust.a "$PREP/ios-arm64-sim/"
386
- strip -x "$PREP/ios-arm64-sim/libspeechmarkdown_rust.a"
387
- cp bindings/speechmarkdown.h bindings/swift/Sources/CSpeechMarkdown/shim.h bindings/swift/Sources/CSpeechMarkdown/module.modulemap "$PREP/ios-arm64-sim/"
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
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "speechmarkdown-rust"
3
- version = "0.2.2"
3
+ version = "0.2.4"
4
4
  edition = "2021"
5
5
  authors = ["SpeechMarkdown Contributors"]
6
6
  description = "High-performance SpeechMarkdown parser with multi-language bindings"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: speechmarkdown-rust
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
@@ -10,8 +10,8 @@ let package = Package(
10
10
  targets: [
11
11
  .binaryTarget(
12
12
  name: "SpeechMarkdownRust",
13
- url: "https://github.com/AACTools/speechmarkdown-rust/releases/download/v0.1.18/SpeechMarkdownRust.xcframework.zip",
14
- checksum: "d1de069f1bd7e75747e38be64a43cba3a1445982ed450e60bb24563524c6571e"
13
+ url: "https://github.com/AACTools/speechmarkdown-rust/releases/download/v0.2.3/SpeechMarkdownRust.xcframework.zip",
14
+ checksum: "31f79a0669b769c610ee8bb5e5c6530b89b27a38f0e50b3ace60292d98feb147"
15
15
  ),
16
16
  .target(
17
17
  name: "CSpeechMarkdown",
@@ -2,7 +2,7 @@
2
2
  <package>
3
3
  <metadata>
4
4
  <id>SpeechMarkdown</id>
5
- <version>0.2.2</version>
5
+ <version>0.2.4</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.2"
212
+ version = "0.2.4"
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.2"
221
+ version = "0.2.4"
222
222
  dependencies = [
223
223
  "quick-xml",
224
224
  "serde",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "speechmarkdown-python"
3
- version = "0.2.2"
3
+ version = "0.2.4"
4
4
  edition = "2021"
5
5
  readme = "README.md"
6
6
 
@@ -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
- cp "$REPO_ROOT/target/aarch64-apple-ios/release/libspeechmarkdown_rust.a" "$PREP_DIR/ios-arm64/"
40
- strip -x "$PREP_DIR/ios-arm64/libspeechmarkdown_rust.a"
41
- cp "$REPO_ROOT/bindings/speechmarkdown.h" "$PREP_DIR/ios-arm64/"
42
- cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/include/shim.h" "$PREP_DIR/ios-arm64/"
43
- cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/module.modulemap" "$PREP_DIR/ios-arm64/"
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
- cp "$REPO_ROOT/target/aarch64-apple-ios-sim/release/libspeechmarkdown_rust.a" "$PREP_DIR/ios-arm64-sim/"
48
- strip -x "$PREP_DIR/ios-arm64-sim/libspeechmarkdown_rust.a"
49
- cp "$REPO_ROOT/bindings/speechmarkdown.h" "$PREP_DIR/ios-arm64-sim/"
50
- cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/include/shim.h" "$PREP_DIR/ios-arm64-sim/"
51
- cp "$REPO_ROOT/bindings/swift/Sources/CSpeechMarkdown/module.modulemap" "$PREP_DIR/ios-arm64-sim/"
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..."
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "speechmarkdown-rust"
7
- version = "0.2.2"
7
+ version = "0.2.4"
8
8
  description = "SpeechMarkdown parser - convert SpeechMarkdown to SSML"
9
9
  readme = "README.md"
10
10