Commit graph

16 commits

Author SHA1 Message Date
ed0cdf6a6f
refactor: move config and cmd to internal
Some checks failed
continuous-integration/drone/push Build is failing
They don't need to be exposed to the outside world
2023-04-18 16:36:37 +02:00
e782c9cb23
feat: change import URL
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 19:18:58 +01:00
2312fecfc8 fix(trace): Ensure traces stop when request fails (#175)
All checks were successful
continuous-integration/drone/push Build is passing
Closes #174

Reviewed-on: #175
2023-01-31 16:08:07 +00:00
10d1c4cd2b fix(trace): Only trace when tracing (#167)
All checks were successful
continuous-integration/drone/push Build is passing
AAAAAAAAAAAAAAAAAAAA

Reviewed-on: #167
2022-12-10 18:19:30 +00:00
530ef06ee1
feat: Trace (#162)
All checks were successful
continuous-integration/drone/push Build is passing
This PR should add the trace option, used by +trace and --trace

TODO
- [x] Making the trace work properly
- [x] Documentation adding
- [x] Completion adding

Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Reviewed-on: #162
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-10 17:51:49 +00:00
64768f0956
fix(errors): put exported errors in util (#161)
All checks were successful
continuous-integration/drone/push Build is passing
Centralize them in one place

Reviewed-on: #161
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-06 21:39:28 +00:00
2db6ee3935
[SKIP CI] fix(main): Remove webasm restriction
https://www.arp242.net/wasm-cli.html
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-10-19 14:51:19 +02:00
Sam
81da49093d
refactor: Make all calls to options pointers (#132)
All checks were successful
continuous-integration/drone/push Build is passing
Instead of copying the opts struct every time it gets passed around, it should be created once and passed through reference.

This should reduce memory utilization, unfortunately I cannot test it since this program runs so fast pprof won't report anything useful.

I think I found all of them 🙂

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #132
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-13 12:49:36 +00:00
3a0a8f015a chore(Refactor) (#110)
All checks were successful
continuous-integration/drone/push Build is passing
refactor

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #110
Reviewed-by: Sam <sam@samtherapy.net>
2022-09-24 23:11:09 +00:00
Sam
9746ae0a6f feat: more API work
Some checks reported errors
continuous-integration/drone/push Build was killed
Reviewed-on: #94
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-15 11:02:43 +00:00
Sam
6fa6b2d1f6 feat: Allow opt pseudosection to be printed (#91)
All checks were successful
continuous-integration/drone/push Build is passing
...when not using the standard print
(JSON/XML/YAML)

This should make making an API for this even easier :)

Reviewed-on: #91
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-10 18:41:25 +00:00
Sam
c8282e8030 fix: make retries actually work properly (#88)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #88
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-09 12:59:49 +00:00
Sam
7edd983175 feat: add preliminary message tinkering (#79)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #79
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-05 00:05:06 +00:00
Sam
4cf19ebf78 Another "minor refactor" (#61)
All checks were successful
continuous-integration/drone/push Build is passing
I need to make fewer of these :)
Reviewed-on: #61
2022-08-11 07:25:36 +00:00
Sam
07728cffdb (feat)EDNS (#55)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #55
2022-08-04 01:09:49 +00:00
Sam
80648e08f6 (refactor) Draw the rest of the owl (#38)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #38
2022-07-26 00:32:31 +00:00