Commit Graph

433 Commits

Author SHA1 Message Date
c6dbbf33af
allow different endpoing/sigv4 service names
This seems silly, but I guess in AWS it is a thing that these two values may
be different. Consumers of awshttp have the option of ignoring this, which
should be correct most of the time. Aws.zig will, however, use the service
metadata to do the right thing
2021-06-09 16:25:49 -07:00
bd5d509665
update servicemodel for generated model
This increases compilation time significantly as all 260+ services
need to be analyzed by zig during compilation. I plan to change
the model from a single "services" constant to a function
that will import only services that plan to be used. This
might be in addition to the single constant to allow
consumers to choose short compile times or all services
support
2021-06-09 16:22:44 -07:00
88632df671
update build.zig with zig 0.8.0 instructions
My PR is still open, so it will be 0.9.0 at least before we get static build.zig support
2021-06-09 16:18:01 -07:00
32afc2c622
update .gitignore for generated files 2021-06-09 16:16:54 -07:00
d7efe72f1b
enable compiling under zig 0.8.0 2021-06-09 16:14:44 -07:00
4a10450e0e
add metadata function
This blows up the number of parameters on generateComplexTypeFor
at least this is a private function, but still kinda messay
2021-06-09 16:14:09 -07:00
03ef89a362
use snake case sdk id for member name
There is still a bug in snake_case related to double underscores
2021-06-09 16:10:10 -07:00
578058dfc9
remove newline that disagreed with zig fmt 2021-06-09 16:06:30 -07:00
68fdeed2fc
update gitignore for generated files 2021-06-03 17:41:18 -07:00
59638df854
add manifest list (remove -s option) 2021-06-03 17:40:47 -07:00
329d732cd5
switch field names to snake_case 2021-06-03 17:39:38 -07:00
c2710be165
move codegen under src/ 2021-06-03 17:35:14 -07:00
065fc2c838
remove broken code 2021-06-01 14:49:17 -07:00
f997907bf1
add traits everywhere/make "required" fixes/add ec2_query_name/json_name 2021-05-29 21:04:35 -07:00
c5bf148856
update TODOs in README 2021-05-29 19:46:46 -07:00
b1397d896e
move service model to its own file
This will need further refactoring to incorporate genned stuff
2021-05-29 19:33:08 -07:00
1a97775287
update todo list 2021-05-29 18:18:36 -07:00
f068dce413
codegen all the things 2021-05-29 18:17:45 -07:00
a732bc14db
more organization and add some documentation to the awshttp module 2021-05-14 15:12:47 -07:00
05fcc5755e
move http heavy lifting to its own file/reorganize a bit 2021-05-14 12:37:00 -07:00
0727fb5585
remove xml.zig. This may be back later, but currently is unused 2021-05-13 15:55:06 -07:00
1b831cd91d
convert to json - core processing fully generic 2021-05-13 15:53:53 -07:00
da5e58872f
additional option for snake case
This will usually be enabled in conjunction with camelCase, to the degree
that maybe this is a bit confused?
2021-05-13 10:56:14 -07:00
1d10ec3e17
only allocate if mutation is neded 2021-05-13 10:10:12 -07:00
dd5ad72b5a
change import to allow embedding json.zig in this project 2021-05-13 10:05:23 -07:00
e76eb45003
allow camel case conversion for json keys 2021-05-13 10:04:01 -07:00
94266582b7
allow unknown struct fields 2021-05-13 09:03:00 -07:00
c24ef3f3b8
allow unknown non-struct fields 2021-05-13 07:56:43 -07:00
0bafc185c8
add json.zig from std lib. Commit e6881d4373ce355f3f4565c22c125870ed8fcfc8 2021-05-12 17:20:36 -07:00
a278f6fd73
update README to reflect openssl->aws-lc switch 2021-04-29 16:30:55 -07:00
e0b3c4f0b3
switch openssl->aws-lc
This switch moves to a full AWS stack and a core ssl library with
smaller security attack surface. It increases final binary size by
3MB which may be largely avoided by tweaking the aws-lc build
commands at the expense of some performance. Note aws-lc will
likely be the primarily supported ssl library by the AWS c
runtime libs moving forward, and thus this also allows us to move
to more recent versions of the dependant libraries. We still
require a custom fork of aws-c-cal until PR 89 is merged
2021-04-29 16:27:23 -07:00
d3efa21a41
first thing that actually works 2021-04-27 11:24:01 -07:00
de09f48f8d
initial commit 2021-02-07 11:20:44 -08:00