# 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 = "majik-file"
version = "0.0.1"
authors = ["Zelijah"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Majik File is the core cryptographic engine for secure file handling in the Majikah ecosystem. It provides a post-quantum secure MJKB format designed for file encryption, multi-recipient key encapsulation, and transparent compression using NIST-standardized algorithms."
readme = "README.md"
keywords = [
    "post-quantum",
    "ml-kem",
    "aes-gcm",
    "file-encryption",
    "zstd",
]
license = "Apache-2.0"
repository = "https://github.com/Majikah/majik-file-rust"

[features]
tauri = []

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

[dependencies.aes-gcm]
version = "0.10"
features = ["aes"]

[dependencies.anyhow]
version = "1.0.102"

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.digest]
version = "0.11.2"

[dependencies.getrandom]
version = "0.2"

[dependencies.hex]
version = "0.4"

[dependencies.mime_guess]
version = "2"

[dependencies.ml-kem]
version = "0.2.1"
features = []

[dependencies.rand]
version = "0.10.0"

[dependencies.rand_core]
version = "0.6"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "fast-rng",
]

[dependencies.zstd]
version = "0.13"
default-features = false

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
