ferra-rs 0.0.1

Model-driven API framework for Rust — derive routes, SQL, OpenAPI, and hypermedia from a single #[model]. Coming soon.
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 3.33 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 230.77 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • ferra-rs/Ferra
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • NiniGeek

ferra-rs

This crate is a reserved placeholder. The real implementation is coming.

Ferra is a Rust framework for building APIs with model-driven design.

Define your resource once:

#[model]
struct Film {
    #[id]
    id: Id,
    title: String,
}

let app = Foundry::new().mount::<Film>(state).build();

And get — from that single annotation:

  • REST routes (GET, POST, PUT, DELETE)
  • Parameterized SQL queries
  • OpenAPI 3.1 spec at /docs/openapi.json
  • Interactive API docs (Scalar)
  • HAL hypermedia _links in every response
  • Compile-time correctness

Note: the ferra crate name on crates.io belongs to an unrelated project. This framework is published as ferra-rs.

Links: ferra.rs · GitHub