-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (35 loc) · 1.18 KB
/
Copy pathCargo.toml
File metadata and controls
43 lines (35 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "shimforge"
version = "0.1.3"
edition = "2024"
rust-version = "1.85"
description = "Test Rust code without test-only traits or changes to production code."
license = "MIT"
repository = "https://github.com/XTSoftwareLabs/shimforge"
readme = "README.md"
keywords = ["mock", "testing", "detour"]
categories = ["development-tools::testing"]
include = ["src/**", "tests/**", "examples/**", "Cargo.toml", "LICENSE*", "README.md"]
[workspace]
members = ["macros"]
resolver = "3"
[dependencies]
shimforge-macros = { version = "0.1.3", path = "macros" }
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
libc = "0.2"
[dev-dependencies]
http-body-util = "0.1"
hyper = { version = "1", features = ["client", "http1"] }
hyper-util = { version = "0.1", features = ["client", "client-legacy", "http1"] }
tokio = { version = "1", features = ["io-util", "macros", "net", "rt"], default-features = false }
# Examples double as tests: `test = true` makes `cargo test` run their #[test] functions.
[[example]]
name = "clock"
test = true
[[example]]
name = "environment"
test = true
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[lints.clippy]
undocumented_unsafe_blocks = "deny"