1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-21 07:34:08 +00:00
Commit graph

490 commits

Author SHA1 Message Date
Vemahk
613afaf1af readd -Dopenssl to zap build. modify readme for instructions how to use it 2024-01-07 21:34:58 +01:00
Rene Schallner
31bf768b96 fix build for latest zig master 2024-01-05 15:37:25 +01:00
Rene Schallner
869a7b8138 update README: build openssl env var 2024-01-05 14:01:06 +01:00
Rene Schallner
5eb57387e8 openssl support depend on ZAP_USE_OPENSSL=true env 2024-01-05 13:59:25 +01:00
Rene Schallner
29b90f0626
Merge pull request #59 from BrookJeynes/mustache-doc-comments
Mustache doc comments
2023-12-31 02:03:01 +01:00
Brook Jeynes
6611269721 fix returned struct field 2023-12-31 10:59:18 +10:00
Brook Jeynes
22d454d134 Updated Mustache doc strings and member visibility
- Updated `Mustache.fiobjectify` to be private
- Updated docstrings on `Mustache.build`
- Renamed `Mustache.handler` -> `Mustache.handle`
- Added docstrings for `Mustache.fiobjectify` and `Mustache.handle`
- Removed `Mustache.status`
2023-12-31 10:56:37 +10:00
Rene Schallner
5082eebd74
Merge pull request #58 from BrookJeynes/mustache-zig-style
Updated `mustache.zig` to be more Zig like
2023-12-31 01:33:53 +01:00
Brook Jeynes
9cc371e567 - Updated tests (all passing)
- Resolved `init()`  comment stating an error occured if nothing was passed in.
- Replaced error at an unreachable location in `init()` to `unreachable`
- Made many members private
2023-12-31 10:27:13 +10:00
stringnick
1e849d2b05 http method options support 2023-12-31 01:20:54 +01:00
Rene Schallner
a8a8b537fe http_auth test: http client code "fix"; also: 1 use 1 worker instead of 0 explicitly 2023-12-31 00:51:22 +01:00
Rene Schallner
715fe03edd Added tls.zig 2023-12-30 13:19:01 +01:00
Brook Jeynes
9fd8c13b32 Updated mustache.zig to be more Zig like
- `mustache.zig` now returns a `Mustache` struct. This allows functions to be called
on the mustache instance, e.g. `zap.mustacheFree(mustache)` -> `mustache.free()`.
- Updated mustache example.
- Added doc strings to majority of mustache functions.
2023-12-30 13:15:07 +10:00
Rene Schallner
684ea8065b refactored zap.Tls 2023-12-30 03:48:36 +01:00
Rene Schallner
c38856d0e1 added zap.Tls, updated https example 2023-12-30 03:13:36 +01:00
Rene Schallner
8f82a692b1 added hints to API-docs to README 2023-12-30 00:59:00 +01:00
Rene Schallner
521b0deaf6 added docs & docserver 2023-12-30 00:51:05 +01:00
Rene Schallner
82323f835e 0.12.0 ready 2023-12-29 23:34:33 +01:00
Rene Schallner
e85a24c006 Added https example to README 2023-12-29 17:52:09 +01:00
Rene Schallner
5e789ee87a added https example 2023-12-29 17:44:25 +01:00
Rene Schallner
edf585c220 added tls support to zap 2023-12-29 17:31:10 +01:00
Rene Schallner
ff1a0a2174 facilio: openssl exit codes suggested by @CoalNova 2023-12-29 16:13:58 +01:00
Rene Schallner
62fc16aaac build.zig changes for conditional openssl support 2023-12-29 15:57:20 +01:00
Rene Schallner
cbccf535c3 A: zig-master branch 2023-12-27 15:04:49 +01:00
Rene Schallner
07e922db76 Added Windows Q 2023-12-27 15:03:12 +01:00
GitHub Action
03887990f1 Update README 2023-12-22 03:29:52 +00:00
Rene Schallner
6ef7559fd8 attempt to fix new facilio build: install lib 2023-12-22 04:24:25 +01:00
Rene Schallner
e75e1b06e9 swallowed facil.io into zap 2023-12-22 04:03:32 +01:00
GitHub Action
556c80c1ba Update README 2023-12-19 14:44:54 +00:00
Rene Schallner
db44c3cffa
Merge pull request #53 from akiomik/patch-1
Fix typo in README.md
2023-12-19 10:45:22 +01:00
Rene Schallner
d5a1024091 Little README update 2023-12-19 10:39:26 +01:00
Rene Schallner
9b117de4d0 Update README. 2023-12-19 10:37:11 +01:00
Rene Schallner
5fc31bcc1a fixed local link in README 2023-12-19 10:33:52 +01:00
Rene Schallner
807069b96d Updated README, incl. Most-FAQ. 2023-12-19 10:32:43 +01:00
Rene Schallner
082c81c4a8 Updated flake to nixpkgs/unstable 2023-12-19 10:32:31 +01:00
Akiomi Kamakura
c011769f40
Fix typo in README.md 2023-11-07 02:48:10 +09:00
Rene Schallner
a231371c3a
Merge pull request #50 from euanwm/spelling_error
spelling and grammar mods
2023-10-20 19:15:33 +02:00
Rene Schallner
6558413af9
Merge pull request #49 from nemzyxt/fix-typo-in-readme
Fix typo in README.md
2023-10-20 19:13:42 +02:00
Euan
d1a925d526 spelling and grammar mods 2023-10-20 11:58:38 +01:00
Nemuel Wainaina
0b3b2659bd Fix typo in README.md 2023-10-18 17:36:50 +03:00
Rene Schallner
8a2d077bd8 fixed release note templates: b.installArtifact 2023-09-23 10:50:47 +02:00
GitHub Action
8efc65eefc Update README 2023-09-13 12:01:09 +00:00
Rene Schallner
e984bc7df1 Bumping version for imminent release after merging #42 2023-09-13 13:58:53 +02:00
Rene Schallner
877bd0eea2 refactored and simplified Mustache interface 2023-09-13 13:43:33 +02:00
sadbeast
8f5aa17109 Add MustacheLoad to support loading from file
According to the facil.io docs
(http://facil.io/0.7.x/fiobj_mustache#fiobj_mustache_new):

> By setting the filename argument even when the data argument exists,
> it will allow path resolution for partial templates. Otherwise, there
> is no way to know where to find the partial templates.

This will allow partial templates to work.

However, this also introduces a breaking change to the existing
MustacheNew function. This change makes it mirror the C version where it
accepts a MustacheLoadArgs struct instead of just the data.  That's also
a handy method to have, so I renamed that to MustacheData...maybe
there's a better name?
2023-09-13 13:22:23 +02:00
Rene Schallner
ecb06028d1 provided 2 bin files for bindataformpost example 2023-09-13 02:23:33 +02:00
GitHub Action
f0b3e282a3 Update README 2023-09-13 00:14:00 +00:00
Rene Schallner
4676c5bab6 bumped version for imminent release 2023-09-13 02:11:47 +02:00
Rene Schallner
942fb0f4a9 fixed multi-file upload 2023-09-13 02:11:16 +02:00
GitHub Action
b6fd422924 Update README 2023-09-12 23:40:42 +00:00