This commit is contained in:
Eli Peter 2026-06-05 10:16:30 -05:00 committed by GitHub
parent 55247b7fcd
commit 991c84a1eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
1464 changed files with 225448 additions and 1985 deletions

37
src/surface/lang/mod.rs Normal file
View file

@ -0,0 +1,37 @@
//! Per-language framework probes.
//!
//! Phase 21 shipped Python + Flask. Phase 22 generalises detection to:
//! Python (FastAPI, Django), JS/TS (Express, Koa, Next.js), Java
//! (Spring, Servlet/JAX-RS, Quarkus), Go (`net/http`, gin), PHP
//! (Laravel, Slim), Ruby (Sinatra, Rails), Rust (axum, actix-web).
//!
//! Every probe exposes one public `detect_<framework>_routes` function
//! returning `Vec<SurfaceNode>` (one [`super::SurfaceNode::EntryPoint`]
//! per recognised route). Probes are pure functions — no I/O, no
//! state.
pub mod common;
pub mod python_django;
pub mod python_fastapi;
pub mod python_flask;
pub mod js_express;
pub mod js_koa;
pub mod ts_next;
pub mod java_quarkus;
pub mod java_servlet;
pub mod java_spring;
pub mod go_gin;
pub mod go_http;
pub mod php_laravel;
pub mod php_slim;
pub mod ruby_rails;
pub mod ruby_sinatra;
pub mod rust_actix;
pub mod rust_axum;