rcman 0.1.4

Framework-agnostic settings management with schema, backup/restore, secrets and derive macro support
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"
rust-version = "1.85"
name = "rcman"
version = "0.1.4"
authors = ["Hakan İSMAİL <hakanismail53@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Framework-agnostic settings management with schema, backup/restore, secrets and derive macro support"
readme = "README.md"
keywords = [
    "settings",
    "configuration",
    "backup",
    "preferences",
    "keychain",
]
categories = [
    "config",
    "filesystem",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/Zarestia-Dev/rcman"

[package.metadata.docs.rs]
all-features = true

[features]
backup = [
    "dep:zip",
    "dep:sha2",
    "dep:tempfile",
]
default = [
    "json",
    "backup",
]
derive = ["dep:rcman-derive"]
encrypted-file = [
    "dep:aes-gcm",
    "dep:rand",
    "dep:base64",
    "dep:argon2",
]
full = [
    "json",
    "toml",
    "backup",
    "keychain",
    "encrypted-file",
    "derive",
    "profiles",
]
json = []
keychain = ["dep:keyring"]
profiles = []
toml = ["dep:toml"]

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

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

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

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

[[example]]
name = "encrypted_storage"
path = "examples/encrypted_storage.rs"
required-features = ["encrypted-file"]

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

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

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

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

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

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

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

[[test]]
name = "derive_macro_test"
path = "tests/derive_macro_test.rs"
required-features = ["derive"]

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

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

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

[[test]]
name = "profiles_test"
path = "tests/profiles_test.rs"
required-features = ["profiles"]

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

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

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

[[test]]
name = "toml_integration_test"
path = "tests/toml_integration_test.rs"
required-features = ["toml"]

[dependencies.aes-gcm]
version = "0.10"
optional = true

[dependencies.argon2]
version = "0.5"
features = ["std"]
optional = true

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

[dependencies.dirs]
version = "6.0"

[dependencies.log]
version = "0.4"

[dependencies.lru]
version = "0.16.3"

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.rcman-derive]
version = "0.1.4"
optional = true

[dependencies.regex]
version = "1.11"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.tempfile]
version = "3.14"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.time]
version = "0.3"
features = [
    "serde",
    "serde-well-known",
    "formatting",
    "macros",
]

[dependencies.toml]
version = "0.9.6"
optional = true

[dependencies.zip]
version = "7.0"
features = [
    "deflate",
    "time",
    "aes-crypto",
]
optional = true
default-features = false

[dev-dependencies.eframe]
version = "0.33.3"

[dev-dependencies.env_logger]
version = "0.11.8"

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

[target.'cfg(target_os = "linux")'.dependencies.keyring]
version = "3.6"
features = ["sync-secret-service"]
optional = true

[target.'cfg(target_os = "macos")'.dependencies.keyring]
version = "3.6"
features = ["apple-native"]
optional = true

[target."cfg(windows)".dependencies.keyring]
version = "3.6"
features = ["windows-native"]
optional = true

[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"

[target."cfg(windows)".dependencies.windows-acl]
version = "0.3"