-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
31 lines (27 loc) · 1.05 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
[package]
name = "printf-wrap"
version = "0.2.1"
description = "Types and functions for safely wrapping C functions with printf(3)-style format strings and varargs"
license = "MIT OR Apache-2.0"
edition = "2021"
repository = "https://github.com/BlackCAT-CubeSat/printf-wrap"
documentation = "https://docs.rs/printf-wrap"
readme = "README.md"
categories = ["development-tools::ffi", "no-std"]
keywords = ["printf", "ffi", "c", "no_std"]
rust-version = "1.64.0"
[dependencies]
libc = { version = "^0.2.0", default-features = false, optional = true }
[dev-dependencies]
libc = { version = "^0.2.0", default-features = false }
[features]
# use types currently available only from `libc` and not `core::ffi`
libc = ["dep:libc"]
# include the "example" module
example = ["dep:libc"]
# use the nightly-only #[doc(cfg(...))]; intended for use when generating docs
doccfg = ["dep:libc"]
[package.metadata.docs.rs]
features = ["libc", "example", "doccfg"]
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-apple-darwin", "x86_64-unknown-freebsd", "x86_64-unknown-illumos"]