[package]
edition = "2024"
rust-version = "1.94"
name = "acyclic-native-runtime"
version = "0.1.5"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native file primitives shared by Acyclic local providers"
documentation = "https://docs.rs/acyclic-native-runtime"
readme = "README.md"
keywords = [
"filesystem",
"io",
"runtime",
]
categories = ["filesystem"]
license = "Apache-2.0"
repository = "https://github.com/acyclic-labs/sdk"
resolver = "2"
[lib]
name = "acyclic_native_runtime"
path = "src/lib.rs"
[dependencies.bytes]
version = "1.10.1"
[dev-dependencies.tempfile]
version = "3.27.0"
[target.'cfg(target_os = "linux")'.dependencies.compio-buf]
version = "=0.8.3"
features = ["bytes"]
[target.'cfg(target_os = "linux")'.dependencies.compio-driver]
version = "=0.11.4"
features = ["io-uring"]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2.175"
[target.'cfg(target_vendor = "apple")'.dependencies.libc]
version = "0.2.175"
[target.'cfg(target_vendor = "apple")'.dependencies.rustix]
version = "1.1.4"
features = ["process"]
[target."cfg(windows)".dependencies.compio-buf]
version = "=0.8.3"
features = ["bytes"]
[target."cfg(windows)".dependencies.compio-driver]
version = "=0.11.4"
default-features = false
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_IO",
"Win32_System_JobObjects",
"Win32_System_Pipes",
"Win32_System_Threading",
]
[lints.clippy]
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
cognitive_complexity = "warn"
dbg_macro = "warn"
doc_markdown = "warn"
expect_used = "deny"
fallible_impl_from = "warn"
if_not_else = "warn"
indexing_slicing = "warn"
inefficient_to_string = "warn"
manual_let_else = "warn"
map_unwrap_or = "warn"
match_same_arms = "warn"
missing_panics_doc = "warn"
needless_pass_by_value = "warn"
panic = "deny"
redundant_clone = "warn"
semicolon_if_nothing_returned = "warn"
single_match_else = "warn"
str_to_string = "warn"
string_slice = "warn"
todo = "warn"
too_many_lines = "warn"
unimplemented = "warn"
uninlined_format_args = "warn"
unwrap_in_result = "warn"
unwrap_used = "deny"
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"