Skip to content

Commit 3afc533

Browse files
committed
update deps / ua-profiles / datastar links
1 parent d33fecb commit 3afc533

File tree

6 files changed

+33
-17
lines changed

6 files changed

+33
-17
lines changed

Cargo.lock

Lines changed: 15 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ Examples of the kind of web services you might build with rama in function of yo
286286
287287
### Datastar
288288
289+
[![Crates.io][https://img.shields.io/crates/v/datastar.svg]][https://crates.io/crates/datastar]
290+
[![Docs.rs][https://img.shields.io/docsrs/datastar/latest]][https://docs.rs/datastar/latest/datastar/index.html]
291+
289292
Rama is also supported in the official Rust SDK of [🚀 data-\*](https://data-star.dev).
290293
Learn more about it at <https://ramaproxy.org/book/web_servers.html#datastar> or see it in
291294
action at [datastar > examples > rust > rama](https://github.com/starfederation/datastar/blob/develop/examples/rust/rama/hello-world/src/main.rs):

docs/book/src/faq.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ Yes you can, there are even some examples:
7272
a web service example showcasing how one might do a key value store web service using `Rama`;
7373
- [http_web_service_dir_and_api.rs](https://github.com/plabayo/rama/tree/main/examples/http_web_service_dir_and_api.rs):
7474
a web service example showcasing how one can make a web service to serve a website which includes an XHR API;
75+
- [/examples/http_web_router.rs](./examples/http_web_router.rs):
76+
a web service example showcasing demonstrating how to create a web router,
77+
which is excellent for the typical path-centric routing,
78+
and an approach you'll recognise from most other web frameworks out there.
7579

7680
Given Rama's prime focus is to aid in the development of proxy services it is
7781
even more natural to write web services that run as part of a proxy service, e.g.:

docs/book/src/web_servers.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ do feel free to use Rama for using [Http Clients](./http_clients.md) and [Web Se
3636
>
3737
> <https://data-star.dev/>
3838
39+
[![Crates.io][https://img.shields.io/crates/v/datastar.svg]][https://crates.io/crates/datastar]
40+
[![Docs.rs][https://img.shields.io/docsrs/datastar/latest]][https://docs.rs/datastar/latest/datastar/index.html]
41+
3942
Rama is also supported in the official Rust SDK of [🚀 data-\*](https://data-star.dev).
4043
You can see it in action at [datastar > examples > rust > rama](https://github.com/starfederation/datastar/blob/develop/examples/rust/rama/hello-world/src/main.rs):
4144

@@ -101,6 +104,10 @@ that you'll recognise from `axum`, just as available for `rama` services:
101104
a web service example showcasing how one might do a key value store web service using `Rama`;
102105
- [/examples/http_web_service_dir_and_api.rs](https://github.com/plabayo/rama/tree/main/examples/http_web_service_dir_and_api.rs):
103106
a web service example showcasing how one can make a web service to serve a website which includes an XHR API;
107+
- [/examples/http_web_router.rs](./examples/http_web_router.rs):
108+
a web service example showcasing demonstrating how to create a web router,
109+
which is excellent for the typical path-centric routing,
110+
and an approach you'll recognise from most other web frameworks out there.
104111

105112
For a production-like example of a web service you can also read the [rama cli `fp` source code](https://github.com/plabayo/rama/tree/main/rama-cli/src/cmd/fp).
106113
This is the webservice behind the Rama fingerprinting service, which is used by the maintainers of 🦙 Rama (ラマ) to generate

rama-ua/src/profile/embed_profiles.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,9 @@
281281
//!
282282
//! ### Datastar
283283
//!
284+
//! [![Crates.io][https://img.shields.io/crates/v/datastar.svg]][https://crates.io/crates/datastar]
285+
//! [![Docs.rs][https://img.shields.io/docsrs/datastar/latest]][https://docs.rs/datastar/latest/datastar/index.html]
286+
//!
284287
//! Rama is also supported in the official Rust SDK of [🚀 data-\*](https://data-star.dev).
285288
//! Learn more about it at <https://ramaproxy.org/book/web_servers.html#datastar> or see it in
286289
//! action at [datastar > examples > rust > rama](https://github.com/starfederation/datastar/blob/develop/examples/rust/rama/hello-world/src/main.rs):

0 commit comments

Comments
 (0)