app_bridge 0.2.0 → 0.7.1

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.
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "app_bridge"
3
- version = "0.1.0"
3
+ version = "0.7.1"
4
4
  edition = "2021"
5
5
  authors = ["Alexander Ross <ross@standout.se>"]
6
6
  publish = false
@@ -10,10 +10,6 @@ crate-type = ["cdylib"]
10
10
 
11
11
  [dependencies]
12
12
  magnus = { version = "0.7.1" }
13
- anyhow = "1.0.95"
14
13
  wasmtime = "29.0.1"
15
14
  wasmtime-wasi = "29.0.1"
16
- wasmtime-cli = "29.0.1"
17
- wasmtime-component-util = "29.0.1"
18
- reqwest = { version = "0.12", features = ["blocking", "json"] }
19
- tokio = { version = "1", features = ["full"] }
15
+ reqwest = { version = "0.12", features = ["blocking", "json", "native-tls-vendored"] }
@@ -3,4 +3,25 @@
3
3
  require "mkmf"
4
4
  require "rb_sys/mkmf"
5
5
 
6
+ # # Bestäm Rust-target baserat på plattform
7
+ # rust_target = case RbConfig::CONFIG["host_os"]
8
+ # when /darwin/
9
+ # RbConfig::CONFIG["host_cpu"] == "arm64" ? "aarch64-apple-darwin" : "x86_64-apple-darwin"
10
+ # when /linux/
11
+ # case RbConfig::CONFIG["host_cpu"]
12
+ # when "x86_64"
13
+ # "x86_64-unknown-linux-gnu"
14
+ # when "aarch64"
15
+ # "aarch64-unknown-linux-gnu"
16
+ # else
17
+ # raise "Unknown Linux architecture: #{RbConfig::CONFIG["host_cpu"]}"
18
+ # end
19
+ # else
20
+ # raise "Unsupported OS: #{RbConfig::CONFIG["host_os"]}"
21
+ # end
22
+
23
+ # Sätt rätt Rust target innan byggning
24
+ # ENV["CARGO_BUILD_TARGET"] = rust_target
25
+
26
+ # Bygg Rust-biblioteket
6
27
  create_rust_makefile("app_bridge/app_bridge")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppBridge
4
- VERSION = "0.2.0"
4
+ VERSION = "0.7.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_bridge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Ross
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-02-24 00:00:00.000000000 Z
11
+ date: 2025-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.91
19
+ version: 0.9.110
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.9.91
26
+ version: 0.9.110
27
27
  description: The app_bridge gem is designed to enable seamless interaction with WebAssembly
28
28
  components that adhere to the WIT specification `standout:app`. It is developed
29
29
  for use in Standout's products.