[package]
edition = "2024"
rust-version = "1.85"
name = "shimforge"
version = "0.1.3"
build = false
include = [
"src/**",
"tests/**",
"examples/**",
"Cargo.toml",
"LICENSE*",
"README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Test Rust code without test-only traits or changes to production code."
readme = "README.md"
keywords = [
"mock",
"testing",
"detour",
]
categories = ["development-tools::testing"]
license = "MIT"
repository = "https://github.com/XTSoftwareLabs/shimforge"
[lib]
name = "shimforge"
path = "src/lib.rs"
[[example]]
name = "clock"
path = "examples/clock.rs"
test = true
[[example]]
name = "environment"
path = "examples/environment.rs"
test = true
[[test]]
name = "async_expectations"
path = "tests/async_expectations.rs"
[[test]]
name = "async_network"
path = "tests/async_network.rs"
[[test]]
name = "cruntime"
path = "tests/cruntime.rs"
[[test]]
name = "examples"
path = "tests/examples.rs"
[[test]]
name = "expectations"
path = "tests/expectations.rs"
[[test]]
name = "filesystem"
path = "tests/filesystem.rs"
[[test]]
name = "generics"
path = "tests/generics.rs"
[[test]]
name = "http_client"
path = "tests/http_client.rs"
[[test]]
name = "io"
path = "tests/io.rs"
[[test]]
name = "native_expectations"
path = "tests/native_expectations.rs"
[[test]]
name = "parallel"
path = "tests/parallel.rs"
[[test]]
name = "readme"
path = "tests/readme.rs"
[[test]]
name = "replacement"
path = "tests/replacement.rs"
[[test]]
name = "safe_api"
path = "tests/safe_api.rs"
[[test]]
name = "stack_safety"
path = "tests/stack_safety.rs"
[[test]]
name = "thread_local"
path = "tests/thread_local.rs"
[dependencies.shimforge-macros]
version = "0.1.3"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper]
version = "1"
features = [
"client",
"http1",
]
[dev-dependencies.hyper-util]
version = "0.1"
features = [
"client",
"client-legacy",
"http1",
]
[dev-dependencies.tokio]
version = "1"
features = [
"io-util",
"macros",
"net",
"rt",
]
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.libc]
version = "0.2"
[lints.clippy]
undocumented_unsafe_blocks = "deny"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"