Sayan Nandan
b63d90fa58
Add benches for skyd::protocol
...
This was added under the 'nightly' feature gate
3 years ago
Sayan Nandan
9656d7d9f6
Upgrade deps
...
Also added changelog entry
3 years ago
Sayan Nandan
cac9a9225f
Add a sanity test for errors in pipelines
3 years ago
Sayan Nandan
048e79df2c
Fix pipeline impl and add basic pipeline tests
...
The pipeline impl had a bug which caused a parse error; this happened
because we directly wrote the length as an integer (with the tsymbol)
when we were supposed to only write the integer in its string form
to the stream. This was fixed.
Also, some preliminary tests were added for pipelines.
3 years ago
Sayan Nandan
12db246725
Implement basic pipelines
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
9b132f4351
Upgrade deps
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
2814bdb151
Bump up version to 0.7.1
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
90276e3ead
Upgrade deps
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
18a0f557a0
Merge branch 'config/env' into next
3 years ago
Sayan Nandan
374ba57133
Add support for environment variable configuration
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
2387103c5c
Fix missing check for durations in config
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
468b1460e4
Fix conflict check tests
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
ef652befc9
Add env var `ConfigError` variant and rename ident
...
The `ParsedConfig` struct was renamed to `ConfigurationSet` because it
is more clear in contexts as parsing can be an ambiguous term in several
places.
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
29a154f70e
Add tests for configuration conflict
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
f56610123e
Fix check of host and port values in config file
...
43bef62a
incorrectly dismissed the check for host/port config in the
case of a non-TLS setup. This commit fixes that.
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
9a6bf82408
Simplify configuration handling
...
The previous configuration handling was rather messed up,
which however is something that this commit attempts to
simplify.
The check for configuration conflict was resolved with a far
more feasible approach and the handling of CLI/config file
configuration was also simplified greatly.
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
43bef62a9e
Simplify config generation from cfg file
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
788b3073c0
Remove unnecessary use of `Box`
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
b5a0e02091
Move config file de into module
...
This really helps us reduce the grand clutter we created earlier.
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
a43e1183b3
Bump up version
3 years ago
Sayan Nandan
eb037fcd62
Add basic `env` config module
3 years ago
Sayan Nandan
4dbcce6e04
Upgrade deps
3 years ago
Sayan Nandan
f85effc1c0
Fix empty list tests
3 years ago
Sayan Nandan
2ee227a5dc
Add `lget last` and `lget first` tests
3 years ago
Sayan Nandan
b368db2407
Add methods `FIRST` and `LAST`
3 years ago
Sayan Nandan
b9c60b4cc7
Use ptr offsets for accesses to reduce bloat
3 years ago
Sayan Nandan
ee78f9b1ce
Avoid excessive const inlining
...
Also removed unnecessary assembly bloat resulting from the generic index
accesses through (unck get)
3 years ago
Sayan Nandan
c3d977c703
Simplify `lmod clear` return
3 years ago
Sayan Nandan
a41fd7fa7f
Fix `lmod` bug resulting in return of wrong rcode
3 years ago
Sayan Nandan
c34f241f2e
Fix encoding check in list actions
3 years ago
Sayan Nandan
c5a58dec3d
Fix `is_empty` impl for `AnyArrayIter`
...
The impl was erroneously checking the base boxed slice for its length
when what we actually needed was the iter len (remainder).
3 years ago
Sayan Nandan
e1ee9314f5
Add `is_empty` to `AnyArrayIter` for specificity
3 years ago
Sayan Nandan
b34d059cd5
Add `Sync` trait bounds for ease with manual afns
3 years ago
Sayan Nandan
f6b3f8dc5c
Simplify encoding checks across actions
...
This commit also removes the forceful `__private` module naming for the
`dbtest` proc macro. Supplied modules can now have any name.
3 years ago
Sayan Nandan
c298f55b23
Use primitive casts to reduce jumps
3 years ago
Sayan Nandan
f4fbdcae16
Fix encoding check correctness in actions
3 years ago
Sayan Nandan
6fe3f53aa9
Use ptr offsets instead of index
3 years ago
Sayan
947327f379
Simplify response writing/handling ( #222 )
...
* Use `BoolTable` to simplify resps
* Fix inversion of table
* Use BLUT and NLUT wherever possible
3 years ago
Sayan Nandan
48ff6003af
Remove `keylen` and add `exists` and `del` tests
...
`keylen` checks the length of value for a given key. This cannot work
with listmaps
3 years ago
Sayan Nandan
b930c5d31b
Add listmap compatibility to `keylen` and `lskeys`
3 years ago
Sayan Nandan
68b9c9b81f
Add listmap compatibility with `exists`
3 years ago
Sayan Nandan
8ba3cb8028
Add `del` compatibility with listmaps
3 years ago
Sayan Nandan
ca77ca9f80
Add sanity tests for wrong-model error string
3 years ago
Sayan Nandan
7246b14115
Add `lmod insert` tests
3 years ago
Sayan Nandan
ed01c2fa82
Add `lmod remove` tests and fix `lget` tests
...
The error string length was incorrectly set causing the `lget` test to
fail
3 years ago
Sayan Nandan
d0ee66ac4c
Add remaining `lget` tests and add `lmod` tests
3 years ago
Sayan Nandan
ce99e974b9
Fix array extend impl ptr eq check
...
The end of allocation is reached when curptr > endptr
3 years ago
Sayan Nandan
acef265b04
Fix list tests
3 years ago
Sayan Nandan
8d43a70bd2
Add `lget` and `lset` tests
3 years ago
Sayan Nandan
677c4a844a
Merge branch 'model/impl-lists' into next
3 years ago