loki-file-access 0.1.1

Cross-platform, frontend-agnostic file picker and capability-based file access for Rust
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 = "loki-file-access"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform, frontend-agnostic file picker and capability-based file access for Rust"
readme = false
keywords = [
    "file-picker",
    "android",
    "ios",
    "saf",
    "cross-platform",
]
categories = [
    "filesystem",
    "os",
    "gui",
]
license = "MIT"
repository = "https://github.com/appthere/loki-file-access"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []

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

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

[dependencies.base64]
version = "0.22"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.pollster]
version = "0.4"

[dev-dependencies.serde_json]
version = "1"

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

[target.'cfg(not(any(target_os = "android", target_os = "ios", target_arch = "wasm32")))'.dependencies.rfd]
version = "0.15"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "HtmlInputElement",
    "File",
    "FileList",
    "Event",
    "EventTarget",
    "Document",
    "Window",
    "Blob",
    "Url",
]

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"

[target.'cfg(target_os = "android")'.dependencies.ndk-context]
version = "0.1"

[target.'cfg(target_os = "ios")'.dependencies.objc2]
version = "0.6"

[target.'cfg(target_os = "ios")'.dependencies.objc2-foundation]
version = "0.3"
features = [
    "NSURL",
    "NSData",
    "NSError",
]

[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
version = "0.3"
features = [
    "UIDocumentPickerViewController",
    "UIViewController",
    "UIResponder",
]