better imports

This commit is contained in:
drpepper66 2023-11-17 23:07:15 +01:00
parent a11332b2b5
commit f6ca1a3f2a
2 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# SPDX-License-Identifier: AGPL-3.0-only
import parsecfg except Config
import types, strutils
import std/parsecfg except Config
import std/uri
import types, strutils
proc get*[T](config: parseCfg.Config; section, key: string; default: T): T =
let val = config.getSectionValue(section, key)

View File

@ -1,7 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only
import times, sequtils, options, tables
import std/[times, sequtils, options, tables, uri]
import prefs_impl
import std/uri
genPrefsType()