Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 86 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ members = [
"crates/stackless-vercel",
"crates/stackless-fly",
"crates/stackless-netlify",
"crates/stackless-railway",
"crates/stackless-laravel-cloud",
"crates/stackless-gitlab",
"crates/stackless-wordpress",
"crates/stackless-cloudflare",
"crates/stackless-stripe-projects",
"crates/stackless",
"crates/render-client",
Expand Down Expand Up @@ -45,6 +50,11 @@ stackless-render = { path = "crates/stackless-render" }
stackless-vercel = { path = "crates/stackless-vercel" }
stackless-fly = { path = "crates/stackless-fly" }
stackless-netlify = { path = "crates/stackless-netlify" }
stackless-railway = { path = "crates/stackless-railway" }
stackless-laravel-cloud = { path = "crates/stackless-laravel-cloud" }
stackless-gitlab = { path = "crates/stackless-gitlab" }
stackless-wordpress = { path = "crates/stackless-wordpress" }
stackless-cloudflare = { path = "crates/stackless-cloudflare" }
stackless-integrations = { path = "crates/stackless-integrations" }
stackless-provider-sdk = { path = "crates/stackless-provider-sdk" }
stackless-stripe-projects = { path = "crates/stackless-stripe-projects" }
Expand Down
58 changes: 49 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,20 +280,60 @@ implemented yet.
- [x] render
- [x] vercel
- [x] fly.io
- [ ] railway
- [x] railway
- [x] netlify
- [ ] cloudflare workers
- [ ] gitlab
- [ ] laravel cloud
- [ ] wordpress.com
- [x] cloudflare workers
- [x] gitlab
- [x] laravel cloud
- [x] wordpress.com

### Integrations (`[integrations.*]` / `provider`)

- [x] clerk
- [ ] auth0
- [ ] workos
- [ ] privy
- [ ] supabase
- [x] auth0
- [x] workos
- [x] privy
- [x] supabase
- [x] neon
- [x] turso
- [x] prisma
- [x] upstash (redis, qstash, search, vector)
- [x] planetscale (mysql, postgresql)
- [x] clickhouse (clickhouse, postgres)
- [x] chroma
- [x] sentry (project, seer)
- [x] posthog
- [x] amplitude
- [x] mixpanel
- [x] algolia
- [x] openrouter
- [x] exa
- [x] firecrawl
- [x] parallel
- [x] elevenlabs
- [x] heygen
- [x] huggingface (platform, bucket)
- [x] inngest
- [x] e2b
- [x] daytona
- [x] browserbase
- [x] blaxel (agent-drive, sandbox)
- [x] runloop
- [x] kernel
- [x] agentmail
- [x] agentphone
- [x] railway (hosting, postgres, redis, mongo, bucket) — catalog integrations; `--on railway` is Phase 2
- [x] gitlab — catalog integration; `--on gitlab` is Phase 2
- [x] laravel-cloud (application, mysql, valkey) — catalog integrations; `--on` is Phase 2
- [x] wordpress-com (site) — catalog integration; `--on` is Phase 2; domain purchase excluded
- [x] base44
- [x] wix
- [x] postalform
- [x] metronome
- [x] supermemory
- [x] render-postgres
- [x] flyio-mpg / flyio-sprite
- [x] cloudflare (r2, kv, d1, queues, hyperdrive, workers, workers-ai, browser-run)

### Platform

Expand Down
24 changes: 24 additions & 0 deletions crates/stackless-cloudflare/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[package]
name = "stackless-cloudflare"
edition.workspace = true
version.workspace = true
license.workspace = true
repository.workspace = true

[lints]
workspace = true

[dependencies]
async-trait = "0.1.89"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
stackless-cloud.workspace = true
stackless-core.workspace = true
stackless-integrations.workspace = true
stackless-stripe-projects.workspace = true
thiserror = "2.0.18"
tokio = { version = "1.52.3", features = ["rt", "time", "macros", "sync"] }

[dev-dependencies]
stackless-stripe-projects = { workspace = true, features = ["test-support"] }
tempfile = "3.27.0"
22 changes: 22 additions & 0 deletions crates/stackless-cloudflare/src/codes.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//! Stable error codes for the Cloudflare Workers *host* substrate (ARCHITECTURE.md §2/§8).
//!
//! The `cloudflare_host.*` prefix is deliberate: Cloudflare catalog *integrations*
//! (R2, KV, D1, Queues, Hyperdrive, Workers-as-integration, etc.) live in
//! `stackless-integrations` and use `integration.*` codes. This crate is the
//! `--on cloudflare` deploy substrate only.
//!
//! Codes live with the provider, not in core. The binary aggregates every
//! crate's `ALL` for a workspace-wide uniqueness check.

pub const CLOUDFLARE_HOST_CONFIG_INVALID: &str = "cloudflare_host.config.invalid";
pub const CLOUDFLARE_HOST_PAYMENT_NOT_CONFIRMED: &str = "cloudflare_host.payment.not_confirmed";
pub const CLOUDFLARE_HOST_PROVISION_FAILED: &str = "cloudflare_host.provision.failed";
pub const CLOUDFLARE_HOST_PREPARE_FAILED: &str = "cloudflare_host.prepare.failed";

/// Every Cloudflare host-substrate code, for the workspace uniqueness test.
pub const ALL: &[&str] = &[
CLOUDFLARE_HOST_CONFIG_INVALID,
CLOUDFLARE_HOST_PAYMENT_NOT_CONFIRMED,
CLOUDFLARE_HOST_PROVISION_FAILED,
CLOUDFLARE_HOST_PREPARE_FAILED,
];
Loading
Loading