Skip to content

Commit

Permalink
Changing API: moving file-related methods to separate module (build f…
Browse files Browse the repository at this point in the history
…ixes)
  • Loading branch information
orchestr7 committed Aug 17, 2021
1 parent 793c8fb commit 302c7b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import com.akuleshov7.ktoml.exceptions.MissingRequiredFieldException
import com.akuleshov7.ktoml.parsers.TomlParser
import com.akuleshov7.ktoml.parsers.node.TomlFile

import okio.ExperimentalFileSystem

import kotlin.native.concurrent.ThreadLocal
import kotlinx.serialization.*
import kotlinx.serialization.modules.EmptySerializersModule
Expand All @@ -19,7 +17,7 @@ import kotlinx.serialization.modules.SerializersModule
* @property config - configuration for the serialization
* @property serializersModule - default overridden
*/
@OptIn(ExperimentalSerializationApi::class, ExperimentalFileSystem:: class)
@OptIn(ExperimentalSerializationApi::class)
public open class Toml(
private val config: KtomlConf = KtomlConf(),
override val serializersModule: SerializersModule = EmptySerializersModule
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package file
package com.akuleshov7.ktoml.file

import com.akuleshov7.ktoml.*
import com.akuleshov7.ktoml.file.TomlFileReader
Expand Down

0 comments on commit 302c7b8

Please sign in to comment.