Handle changes in the serialization library
This commit is contained in:
parent
cfa9566191
commit
f091a70a5b
|
@ -5,10 +5,10 @@ import
|
|||
export
|
||||
serialization, reader, writer
|
||||
|
||||
serializationFormat Envvar,
|
||||
Reader = EnvvarReader,
|
||||
Writer = EnvvarWriter,
|
||||
PreferedOutput = void
|
||||
serializationFormat Envvar
|
||||
|
||||
Envvar.setReader EnvvarReader
|
||||
Envvar.setWriter EnvvarWriter, PreferredOutput = void
|
||||
|
||||
template supports*(_: type Envvar, T: type): bool =
|
||||
# The Envvar format should support every type
|
||||
|
|
|
@ -5,10 +5,10 @@ import
|
|||
export
|
||||
serialization, reader, writer, types
|
||||
|
||||
serializationFormat Winreg,
|
||||
Reader = WinregReader,
|
||||
Writer = WinregWriter,
|
||||
PreferedOutput = void
|
||||
serializationFormat Winreg
|
||||
|
||||
Winreg.setReader WinregReader
|
||||
Winreg.setWriter WinregWriter, PreferredOutput = void
|
||||
|
||||
template supports*(_: type Winreg, T: type): bool =
|
||||
# The Winreg format should support every type
|
||||
|
|
Loading…
Reference in New Issue