prefer 0.3.3

A lightweight library for managing application configurations with support for multiple file formats
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "prefer"
version = "0.3.3"
authors = ["LimpidTech"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight library for managing application configurations with support for multiple file formats"
readme = "README.md"
keywords = [
    "config",
    "configuration",
    "settings",
    "yaml",
    "json",
]
categories = [
    "config",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/LimpidTech/prefer.rs"

[features]
all = [
    "std",
    "xml",
    "ini",
    "derive",
]
default = [
    "std",
    "xml",
    "ini",
]
derive = ["dep:prefer_derive"]
ini = [
    "std",
    "dep:rust-ini",
]
json5 = ["std"]
std = [
    "dep:thiserror",
    "dep:tokio",
    "dep:async-trait",
    "dep:jzon",
    "dep:yaml-rust2",
    "dep:toml_edit",
    "dep:notify",
    "dep:dirs",
]
xml = [
    "std",
    "dep:roxmltree",
]

[lib]
name = "prefer"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "derive"
path = "examples/derive.rs"
required-features = ["derive"]

[[example]]
name = "sources"
path = "examples/sources.rs"

[[example]]
name = "watch"
path = "examples/watch.rs"

[[test]]
name = "coverage_tests"
path = "tests/coverage_tests.rs"

[[test]]
name = "derive_test"
path = "tests/derive_test.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[test]]
name = "no_std_test"
path = "tests/no_std_test.rs"

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.dirs]
version = "5.0"
optional = true

[dependencies.jzon]
version = "0.12"
optional = true

[dependencies.notify]
version = "6.1"
optional = true

[dependencies.prefer_derive]
version = "0.3.3"
optional = true

[dependencies.roxmltree]
version = "0.20"
optional = true

[dependencies.rust-ini]
version = "0.20"
optional = true

[dependencies.thiserror]
version = "1.0"
optional = true

[dependencies.tokio]
version = "1.35"
features = ["full"]
optional = true

[dependencies.toml_edit]
version = "0.22"
optional = true

[dependencies.yaml-rust2]
version = "0.8"
optional = true

[dev-dependencies.prefer_derive]
version = "0.3.3"

[dev-dependencies.serial_test]
version = "3.0"

[dev-dependencies.tempfile]
version = "3.8"

[dev-dependencies.tokio-test]
version = "0.4"