top | item 46845097

Show HN: Apate API mocking/prototyping server and Rust unit test library

32 points| rumatoest | 29 days ago |github.com

20 comments

order

mnahkies|28 days ago

The licence terms / variation on MIT is interesting - unless this file is part of some standard I'm unaware of I'd expect it still shows as plain MIT for most automated SBOM collection/licence checks which feels problematic.

(https://github.com/rustrum/apate/blob/main/LICENSE-TERMS)

embedding-shape|28 days ago

Ouch, why even involve the MIT license if you're gonna do custom terms anyways? Just put "Copyright me" and be done with it instead of ending up with some weird half and half solution. Net effect ends up the same anyways.

rumatoest|27 days ago

Well the point here is that if I created it by myself I can make whatever license I want. But I do not want to write my own license. AFAIK even if you grant something for subset of users for "free" you have to define legally terms of this "free" usage.

rsyring|28 days ago

Yeah, that kills adoption by most people I'd imagine. Non-standard license terms are always a huge red flag IMO, regardless of actual license terms.

Terretta|27 days ago

This English as second language README being not written by LLM -- despite the emojis which the LLMs had to learn from somewhere -- is refreshing.

rumatoest|27 days ago

Well plain text README is booooooring. And I just realized that adding emoji could help to make it more fun and emphasize some context.

vindin|28 days ago

Why are people using rust to build web apps

airstrike|28 days ago

Why wouldn't we? It's a fantastic language with great tooling, top tier performance and minimal footprint

rumatoest|27 days ago

First of all, this is not a web app.

Second, what should I use if I want a small binary with no dependencies and low CPU/RAM usage?

I could’ve used Go, but once you know Rust Go’s existence almost stops making sense :)

petcat|28 days ago

Rust + Axum + SQLx has been a total game-changer for me in terms of productivity developing web-based Postgres apps. I like the tooling and the libraries are great.

RegW|28 days ago

Feels like a Wiremock for Rust.

rumatoest|27 days ago

Maybe, but it is much simpler, probably faster, starts instantly and do not eats tons of RAM.