[package]
edition = "2024"
rust-version = "1.95"
name = "oscall"
version = "0.0.2"
authors = ["Mark Karpeles <magicaltux@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level cross-platform interface to operating system services: files, memory mapping, networking and more, with no libc on Linux"
readme = "README.md"
keywords = [
"syscall",
"os",
"mmap",
"no-libc",
"cross-platform",
]
categories = [
"os",
"no-std",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/KarpelesLab/oscall"
[package.metadata.docs.rs]
all-features = true
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"i686-unknown-linux-gnu",
"armv7-unknown-linux-gnueabihf",
"riscv64gc-unknown-linux-gnu",
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"i686-pc-windows-msvc",
"aarch64-pc-windows-msvc",
]
[features]
alloc = []
default = ["std"]
std = ["alloc"]
[lib]
name = "oscall"
path = "src/lib.rs"
[[test]]
name = "core"
path = "tests/core.rs"
[[test]]
name = "event"
path = "tests/event.rs"
[[test]]
name = "event_signals"
path = "tests/event_signals.rs"
[[test]]
name = "fs"
path = "tests/fs.rs"
[[test]]
name = "io"
path = "tests/io.rs"
[[test]]
name = "mem"
path = "tests/mem.rs"
[[test]]
name = "net"
path = "tests/net.rs"
[[test]]
name = "process"
path = "tests/process.rs"
[[test]]
name = "process_linux"
path = "tests/process_linux.rs"
[[test]]
name = "process_linux_single"
path = "tests/process_linux_single.rs"
harness = false
[[test]]
name = "rand"
path = "tests/rand.rs"
[[test]]
name = "raw"
path = "tests/raw.rs"
[[test]]
name = "signal"
path = "tests/signal.rs"
[[test]]
name = "sync"
path = "tests/sync.rs"
[[test]]
name = "thread"
path = "tests/thread.rs"
[[test]]
name = "time"
path = "tests/time.rs"
[dependencies]
[lints.rust]
missing_docs = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(target_os, values("fullrust"))']