spikard 0.17.0.pre.rc.10 → 0.17.0.pre.rc.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7ba89ad0e190ba27b3e4706768f4475997d4f665477c02ebcac6c4d26253b36
4
- data.tar.gz: 58b96595ec3ed741c0d1428102e587749596e1d55407542f2573fad8741903b5
3
+ metadata.gz: 35735aa4018cafb65d0306d0a286ddc8aae23883e0c014f3f8cb0dbffd6e4256
4
+ data.tar.gz: e330115e238cbb0b37750f6bcf965cb3cc6a803ec7372e88d1aaca1a4769b0a1
5
5
  SHA512:
6
- metadata.gz: 6561660ef768677aea92b22ec5c903f124d3fb81ce48ae30f7f0381fc997f2c677b5aa2650447d85181810f4b14b8cdbcb5d024c1883ada452f3509ee8326d80
7
- data.tar.gz: 879228b17146ac8123e290e830454dbd90c0c71874b0d47b50a074e881e1e2cee116504a2d1280f58b89e59bef77afd0d30a2402d57b335e653f768c3f894bbd
6
+ metadata.gz: 3d73b2f33a1d3248b23cccb30a48f1b5f0322b837e09da7f29aa238e21ecc2bca912540ed0d0efd5a28cddc0997e542039e4a5605aee7f36780179b762b8d838
7
+ data.tar.gz: 5378796df2d78a04f7a64020024cee4268e5501031799e77a1fda6647888751eea406914dbc0414ae2d1bbba02b45d46ad6dc1a5965192b01c3eaea520c246ef
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  **Spikard** — Part of the spikard polyglot web toolkit.
7
7
 
8
- Rust-centric polyglot HTTP framework with OpenAPI/AsyncAPI/GraphQL/JSON-RPC codegen, tower-http middleware, and fixture-driven cross-language testing. Ruby bindings via Magnus with idiomatic Ruby API.
8
+ Codegen-first polyglot web toolkit on a Rust core: OpenAPI/AsyncAPI/GraphQL/JSON-RPC/gRPC codegen, SQL-to-HTTP, tower-http middleware, and an MCP server. Experimental, pre-1.0. Ruby bindings via Magnus with idiomatic Ruby API.
9
9
 
10
10
  <div align="center" style="display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0;">
11
11
  <!-- Built with alef -->
@@ -69,12 +69,18 @@ Rust-centric polyglot HTTP framework with OpenAPI/AsyncAPI/GraphQL/JSON-RPC code
69
69
  </a>
70
70
  </div>
71
71
 
72
- [Install](#installation) · [Quick example](#quick-example) · [Features](#features) · [Docs](https://github.com/Goldziher/spikard)
72
+ [Install](#installation) · [Quick example](#quick-example) · [Features](#features) · [Docs](https://spikard.dev)
73
73
 
74
74
  </div>
75
75
 
76
76
  ---
77
77
 
78
+ > [!IMPORTANT]
79
+ > **spikard is experimental and pre-1.0.** APIs change between releases and not every binding is at the
80
+ > same level of maturity, so it is not yet recommended for production. Feedback is genuinely wanted at
81
+ > this stage — [open an issue](https://github.com/Goldziher/spikard/issues) if something is wrong,
82
+ > awkward, or missing.
83
+
78
84
  ## What this package provides
79
85
 
80
86
  - **Magnus-backed native extension** — Ruby 3.2+ with native performance for routing and validation
@@ -1434,9 +1434,9 @@ dependencies = [
1434
1434
 
1435
1435
  [[package]]
1436
1436
  name = "http"
1437
- version = "1.4.2"
1437
+ version = "1.5.0"
1438
1438
  source = "registry+https://github.com/rust-lang/crates.io-index"
1439
- checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425"
1439
+ checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
1440
1440
  dependencies = [
1441
1441
  "bytes",
1442
1442
  "itoa",
@@ -3114,9 +3114,9 @@ dependencies = [
3114
3114
 
3115
3115
  [[package]]
3116
3116
  name = "spikard"
3117
- version = "0.17.0-rc.10"
3117
+ version = "0.17.0-rc.11"
3118
3118
  source = "registry+https://github.com/rust-lang/crates.io-index"
3119
- checksum = "4eaecdd548d2f20697123455114690b02d034f86fcddab96f838834a6397974e"
3119
+ checksum = "9046ec0bfe75a357f8e383c0ca55b2f09948108223df43cf2747b2976f8ae191"
3120
3120
  dependencies = [
3121
3121
  "anyhow",
3122
3122
  "async-graphql",
@@ -3135,9 +3135,9 @@ dependencies = [
3135
3135
 
3136
3136
  [[package]]
3137
3137
  name = "spikard-core"
3138
- version = "0.17.0-rc.10"
3138
+ version = "0.17.0-rc.11"
3139
3139
  source = "registry+https://github.com/rust-lang/crates.io-index"
3140
- checksum = "679ae76931c458a8c382b0ff7f6445b449d5828576b5d30b991e0ce9b2353fa0"
3140
+ checksum = "58eefa7482e5b230ef059f5f7696f99dac1391992b7f1d45f11468fce9aa4f53"
3141
3141
  dependencies = [
3142
3142
  "anyhow",
3143
3143
  "base64 0.23.0",
@@ -3161,9 +3161,9 @@ dependencies = [
3161
3161
 
3162
3162
  [[package]]
3163
3163
  name = "spikard-graphql"
3164
- version = "0.17.0-rc.10"
3164
+ version = "0.17.0-rc.11"
3165
3165
  source = "registry+https://github.com/rust-lang/crates.io-index"
3166
- checksum = "e5ddc350118e28541c3de4b3792b9b34e8146d058f97480dde01ee50ee1f8484"
3166
+ checksum = "c8964e2314fe524bd9864451a90ea0ff9ac57c1abd47b3517c95ee10b17687de"
3167
3167
  dependencies = [
3168
3168
  "async-graphql",
3169
3169
  "async-graphql-parser",
@@ -3183,9 +3183,9 @@ dependencies = [
3183
3183
 
3184
3184
  [[package]]
3185
3185
  name = "spikard-http"
3186
- version = "0.17.0-rc.10"
3186
+ version = "0.17.0-rc.11"
3187
3187
  source = "registry+https://github.com/rust-lang/crates.io-index"
3188
- checksum = "6d625ecbdbd79555729f23fd0f2321010c681360ec82184cc35bdd1735285e3e"
3188
+ checksum = "8a29d64d9e49db7bcfca1fdb9b7516fac09fd853b74e5362b5a162169a6bbbe6"
3189
3189
  dependencies = [
3190
3190
  "ahash",
3191
3191
  "anyhow",
@@ -3238,7 +3238,7 @@ dependencies = [
3238
3238
 
3239
3239
  [[package]]
3240
3240
  name = "spikard-rb"
3241
- version = "0.17.0-rc.10"
3241
+ version = "0.17.0-rc.11"
3242
3242
  dependencies = [
3243
3243
  "magnus",
3244
3244
  "rb-sys",
@@ -3502,13 +3502,13 @@ dependencies = [
3502
3502
 
3503
3503
  [[package]]
3504
3504
  name = "tokio-macros"
3505
- version = "2.7.1"
3505
+ version = "2.7.2"
3506
3506
  source = "registry+https://github.com/rust-lang/crates.io-index"
3507
- checksum = "6328af13490e73a9b4694030fafd93f8c8c6a9dede33e821c3fc63eddf8042ba"
3507
+ checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
3508
3508
  dependencies = [
3509
3509
  "proc-macro2",
3510
3510
  "quote",
3511
- "syn 2.0.119",
3511
+ "syn 3.0.3",
3512
3512
  ]
3513
3513
 
3514
3514
  [[package]]
@@ -1,9 +1,9 @@
1
1
  [package]
2
2
  name = "spikard-rb"
3
- version = "0.17.0-rc.10"
3
+ version = "0.17.0-rc.11"
4
4
  edition = "2024"
5
5
  license = "MIT"
6
- description = "Rust-centric multi-language HTTP framework with polyglot bindings"
6
+ description = "Codegen-first polyglot web toolkit with a Rust core and bindings for 14 languages"
7
7
  readme = false
8
8
  keywords = ["framework", "http", "polyglot", "rust", "web"]
9
9
  categories = []
@@ -25,8 +25,8 @@ magnus = "0.8"
25
25
  rb-sys = ">=0.9, <0.9.128"
26
26
  serde = { version = "1", features = ["derive"] }
27
27
  serde_json = "1"
28
- spikard = { version = "0.17.0-rc.10", features = ["di"] }
29
- spikard-core = { version = "0.17.0-rc.10" }
30
- spikard-graphql = { version = "0.17.0-rc.10" }
31
- spikard-http = { version = "0.17.0-rc.10" }
28
+ spikard = { version = "0.17.0-rc.11", features = ["di"] }
29
+ spikard-core = { version = "0.17.0-rc.11" }
30
+ spikard-graphql = { version = "0.17.0-rc.11" }
31
+ spikard-http = { version = "0.17.0-rc.11" }
32
32
  tokio = { version = "1", features = ["rt-multi-thread"] }
@@ -1,5 +1,5 @@
1
1
  // This file is auto-generated by alef. DO NOT EDIT.
2
- // alef:hash:b5167d25336e3011d4daa9dcfbe6e9b01fdb7992536b9984a54b4650875c3ba2
2
+ // alef:hash:6ce96937762ae4fef1c67d21192bcc5ee5cefc6bffa33a454413b64091147547
3
3
  // Re-generate with: alef generate
4
4
  #![allow(dead_code, unused_imports, unused_variables)]
5
5
  #![allow(
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:b5167d25336e3011d4daa9dcfbe6e9b01fdb7992536b9984a54b4650875c3ba2
2
+ # alef:hash:6ce96937762ae4fef1c67d21192bcc5ee5cefc6bffa33a454413b64091147547
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
  # frozen_string_literal: true
@@ -1,10 +1,10 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:b5167d25336e3011d4daa9dcfbe6e9b01fdb7992536b9984a54b4650875c3ba2
2
+ # alef:hash:6ce96937762ae4fef1c67d21192bcc5ee5cefc6bffa33a454413b64091147547
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
  # frozen_string_literal: true
6
6
 
7
7
  module Spikard
8
8
  ## The version string for this package.
9
- VERSION = "0.17.0.pre.rc.10"
9
+ VERSION = "0.17.0.pre.rc.11"
10
10
  end
data/lib/spikard.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:b5167d25336e3011d4daa9dcfbe6e9b01fdb7992536b9984a54b4650875c3ba2
2
+ # alef:hash:6ce96937762ae4fef1c67d21192bcc5ee5cefc6bffa33a454413b64091147547
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
  # frozen_string_literal: true
@@ -18,15 +18,8 @@ module Spikard
18
18
  require_relative "spikard/service"
19
19
  end
20
20
 
21
- # Bring top-level Spikard classes into the global namespace so callers
22
- # (and the generated e2e suite) can reference them unqualified. The native
23
- # extension has already been required above, so every type constant is defined
24
- # under Spikard by this point.
25
- Spikard.constants.each do |const_name|
26
- value = Spikard.const_get(const_name)
27
- ::Object.const_set(const_name, value) if value.is_a?(Module) && !::Object.const_defined?(const_name)
28
- end
29
-
21
+ # Keep generated types under Spikard. Publishing generated constants
22
+ # into Object makes generic names collide with unrelated Ruby libraries.
30
23
  require_relative "spikard/app"
31
24
  require_relative "spikard/params"
32
25
  require_relative "spikard/introspection"
data/lib/spikard_rb.so CHANGED
Binary file
data/sig/types.rbs CHANGED
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:b5167d25336e3011d4daa9dcfbe6e9b01fdb7992536b9984a54b4650875c3ba2
2
+ # alef:hash:6ce96937762ae4fef1c67d21192bcc5ee5cefc6bffa33a454413b64091147547
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spikard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0.pre.rc.10
4
+ version: 0.17.0.pre.rc.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Na'aman Hirschfeld <nhirschfeld@gmail.com>
@@ -43,7 +43,8 @@ dependencies:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0.5'
46
- description: Rust-centric multi-language HTTP framework with polyglot bindings
46
+ description: Codegen-first polyglot web toolkit with a Rust core and bindings for
47
+ 14 languages
47
48
  executables: []
48
49
  extensions:
49
50
  - ext/spikard_rb/native/extconf.rb
@@ -92,5 +93,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
93
  requirements: []
93
94
  rubygems_version: 3.6.9
94
95
  specification_version: 4
95
- summary: Rust-centric multi-language HTTP framework with polyglot bindings
96
+ summary: Codegen-first polyglot web toolkit with a Rust core and bindings for 14 languages
96
97
  test_files: []