kobako-wasmtime 0.0.0
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.
- checksums.yaml +7 -0
- data/README.md +25 -0
- data/lib/kobako-wasmtime.rb +14 -0
- metadata +53 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 37d9d6285841b30df21a966b2d5ac87fea4ae00c191d2dd8f170a51ca5e374bb
|
|
4
|
+
data.tar.gz: 19d28e8c0c84284821ec9ba600e08972ff500ee0f51ee6a3cec0d70ff4075f89
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: b1c767d8b4a82f97b8eefd63bd4f2f6adf2daab5629bff93ad097ef448459c701afcb69f47f33f96a52c133c34cd57fe00f8d4559dc1de6acd2c1a303eafa89a
|
|
7
|
+
data.tar.gz: 3c471711fef750fe75d3e167fe2e6e16577897495fc134f0b04e59c0c9df8dd3462a87a64e9176cd8b95e9bcd7eebb151e3b83a554080e6ed0305d7e36124748
|
data/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# kobako-wasmtime
|
|
2
|
+
|
|
3
|
+
**This gem is a placeholder. It contains no code, and requiring it raises.**
|
|
4
|
+
|
|
5
|
+
Install [kobako](https://rubygems.org/gems/kobako) instead — it bundles the
|
|
6
|
+
wasmtime driver today, so nothing here is missing from it.
|
|
7
|
+
|
|
8
|
+
## Why the name is reserved
|
|
9
|
+
|
|
10
|
+
[kobako](https://github.com/elct9620/kobako) runs untrusted mruby inside a Wasm
|
|
11
|
+
sandbox. Its engine-neutral `Runtime` contract already exists: on the Rust side
|
|
12
|
+
the wasmtime driver is an optional dependency, which makes the claim that the
|
|
13
|
+
engine is replaceable a fact about the dependency graph. The Ruby gem is the one
|
|
14
|
+
tier that still welds itself to wasmtime, because `ext/kobako` depends on the
|
|
15
|
+
driver by path and the gemspec ships exactly that closure.
|
|
16
|
+
|
|
17
|
+
Moving that seam — `kobako` becomes the pure-Ruby wrapper with the bundled guest,
|
|
18
|
+
and a driver gem supplies `Kobako::Runtime` — is planned in
|
|
19
|
+
[elct9620/kobako#76](https://github.com/elct9620/kobako/issues/76). That issue
|
|
20
|
+
holds the design, the 14-method contract, and what is still open. This name is
|
|
21
|
+
held so the split can ship under it rather than under a second-choice one.
|
|
22
|
+
|
|
23
|
+
## License
|
|
24
|
+
|
|
25
|
+
Apache-2.0, same as [kobako](https://github.com/elct9620/kobako/blob/main/LICENSE).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Loading this gem is always a mistake today, so it says so here rather than
|
|
4
|
+
# leaving the caller to discover that Kobako::Runtime never appeared.
|
|
5
|
+
raise NotImplementedError, <<~MESSAGE
|
|
6
|
+
kobako-wasmtime is a reserved name with no implementation yet.
|
|
7
|
+
|
|
8
|
+
The wasmtime driver still ships inside the kobako gem, so this gem
|
|
9
|
+
supplies no Kobako::Runtime and installing it adds nothing. Splitting the
|
|
10
|
+
driver out, so that the engine is chosen by which driver gem you install,
|
|
11
|
+
is planned in https://github.com/elct9620/kobako/issues/76.
|
|
12
|
+
|
|
13
|
+
Use `gem "kobako"` and remove this from your Gemfile.
|
|
14
|
+
MESSAGE
|
metadata
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: kobako-wasmtime
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Aotokitsuruya
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: |
|
|
13
|
+
A name reservation, not a runtime. kobako's wasmtime driver still ships
|
|
14
|
+
inside the kobako gem, so installing this one adds nothing and requiring it
|
|
15
|
+
raises. Install kobako instead: https://rubygems.org/gems/kobako
|
|
16
|
+
|
|
17
|
+
Moving that seam — so which driver gem you install is the choice of engine —
|
|
18
|
+
is planned in https://github.com/elct9620/kobako/issues/76, and the name is
|
|
19
|
+
held for it.
|
|
20
|
+
email:
|
|
21
|
+
- contact@aotoki.me
|
|
22
|
+
executables: []
|
|
23
|
+
extensions: []
|
|
24
|
+
extra_rdoc_files: []
|
|
25
|
+
files:
|
|
26
|
+
- README.md
|
|
27
|
+
- lib/kobako-wasmtime.rb
|
|
28
|
+
homepage: https://github.com/elct9620/kobako
|
|
29
|
+
licenses:
|
|
30
|
+
- Apache-2.0
|
|
31
|
+
metadata:
|
|
32
|
+
allowed_push_host: https://rubygems.org
|
|
33
|
+
homepage_uri: https://github.com/elct9620/kobako
|
|
34
|
+
bug_tracker_uri: https://github.com/elct9620/kobako/issues/76
|
|
35
|
+
rubygems_mfa_required: 'true'
|
|
36
|
+
rdoc_options: []
|
|
37
|
+
require_paths:
|
|
38
|
+
- lib
|
|
39
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: 3.3.0
|
|
44
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
|
+
requirements:
|
|
46
|
+
- - ">="
|
|
47
|
+
- !ruby/object:Gem::Version
|
|
48
|
+
version: '0'
|
|
49
|
+
requirements: []
|
|
50
|
+
rubygems_version: 4.0.14
|
|
51
|
+
specification_version: 4
|
|
52
|
+
summary: Reserved name for kobako's wasmtime driver gem — not implemented yet.
|
|
53
|
+
test_files: []
|