Skip to main content

Crate parse_rust_rest

Crate parse_rust_rest 

Source
Expand description

The read and write pipelines. The behavioral heart.

Never references JS types, serde_json::Value-as-JS-value conventions, or JS async semantics. Everything JavaScript lives behind the sidecar socket, and keeping this crate clean of it is what makes that boundary real rather than aspirational. The one serde_json use is query_parse, which reads a client-supplied where document, and that is JSON on the wire rather than a JS value.

Re-exports§

pub use acl::AclScope;
pub use guard::reject_reserved_keys;
pub use guard::strip_internal_keys;
pub use guard::to_response_body;
pub use pipeline::count;
pub use pipeline::create;
pub use pipeline::delete;
pub use pipeline::find;
pub use pipeline::get;
pub use pipeline::update;
pub use pipeline::CreateResponse;
pub use pipeline::UpdateResponse;
pub use query_parse::parse_where;

Modules§

acl
ACL enforcement: the boundary between the ACL field a client sees and the _rperm/_wperm columns storage holds.
guard
Guards applied to a client-supplied body before it reaches the pipeline.
pipeline
The read and write pipelines.
query_parse
Parsing the where parameter into constraints.