-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
56 lines (47 loc) · 1.54 KB
/
Cargo.toml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "syscall_encode"
description = "Traits and macros to help define a syscall interface for a kernel."
version = "0.1.11"
edition = "2021"
repository = "https://github.com/twizzler-operating-system/syscall_encode/"
homepage = "https://github.com/twizzler-operating-system/syscall_encode/"
license-file = "LICENSE"
readme = "README.md"
authors = ["Daniel Bittman <danielbittman1@gmail.com>"]
categories = ["encoding", "no-std"]
keywords = ["syscall", "abi"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "syscall_encode" # The name of the target.
path = "src/lib.rs" # The source file of the target.
edition = "2021" # The edition of the target.
crate-type = ["lib"] # The crate types to generate.
[dependencies]
syscall_encode_macros = { path = "syscall_macros", version = "0.1.8" }
syscall_encode_traits = { path = "syscall_macros_traits", version = "0.1.9" }
alloca = { version = "0.3", optional = true }
[dev-dependencies]
alloca = "0.3"
rand = "0.8.5"
criterion = { version = "0.5.1", features = ["html_reports"] }
[profile.bench]
debug = true
[[bench]]
name = "encode"
harness = false
[features]
benchmarking = ["alloca"]
rustc-dep-of-std = [
"core",
"compiler_builtins",
"compiler_builtins/rustc-dep-of-std",
"syscall_encode_traits/rustc-dep-of-std",
"syscall_encode_macros/rustc-dep-of-std",
]
[dependencies.compiler_builtins]
optional = true
version = "0.1"
[dependencies.core]
optional = true
package = "rustc-std-workspace-core"
version = "1.0.0"