fig 2.5.2

Parse, edit, and convert config files while preserving comments. Supports JSON, YAML, TOML, and more.
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 = "2024"
name = "fig"
version = "2.5.2"
build = false
include = [
    "src/**/*",
    "LICENSE-MIT",
    "LICENSE-APACHE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parse, edit, and convert config files while preserving comments. Supports JSON, YAML, TOML, and more."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/diaryx-org/fig"

[features]
default = [
    "json",
    "yaml",
    "toml",
    "fig",
]
derive = ["dep:fig-macros"]
fig = ["fig-sys/fig"]
indexmap = ["dep:indexmap"]
json = ["fig-sys/json"]
serde = ["dep:serde"]
toml = ["fig-sys/toml"]
xml = ["fig-sys/xml"]
yaml = ["fig-sys/yaml"]
zon = ["fig-sys/zon"]

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

[dependencies.fig-macros]
version = "2.5.2"
optional = true

[dependencies.fig-sys]
version = "2.5.2"
default-features = false

[dependencies.indexmap]
version = "2"
optional = true

[dependencies.serde]
version = "1"
optional = true

[dev-dependencies.serde]
version = "1"
features = ["derive"]