-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
59 lines (48 loc) · 1.62 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
57
58
59
# Templated by `cargo-generate` using https://github.com/danielhenrymantilla/proc-macro-template
[package]
name = "maybe-dangling"
authors = [
"Daniel Henry-Mantilla <[email protected]>",
]
version = "0.1.1" # Keep in sync
edition = "2021"
rust-version = "1.65.0"
license = "Zlib OR MIT OR Apache-2.0"
repository = "https://github.com/danielhenrymantilla/maybe-dangling.rs"
documentation = "https://docs.rs/maybe-dangling"
readme = "README.md"
description = "`ManuallyDrop<T>` and `MaybeDangling<T>` semantics in stable Rust as per https://github.com/rust-lang/rfcs/pull/3336"
keywords = ["unsafe", "dangling", "aliasing", "dereferenceable", "manuallydrop"]
[features]
default = [
]
# Enable and use `#![feature(dropck_eyepatch)]` for `MaybeDangling`.
nightly-dropck_eyepatch = []
# unstable! Will probably use nightly to improve doc quality
better-docs = []
ui-tests = [
"better-docs",
]
# `docs-rs` is very similar to `better-docs`, but for it being allowed to enable
# other features as well, often to make sure optional/non-`default` features
# make it to the rendered docs (using `--all-features` instead is not that great).
docs-rs = [
"better-docs",
]
[dependencies]
[dev-dependencies]
[workspace]
[package.metadata.docs.rs]
features = [
"docs-rs",
]
rustdoc-args = [
# Use (with or without `open`):
# ```md
# <details open class="custom"><summary><span class="summary-box"><span>Click to hide</span></span></summary>
# …
# </details>
# ```
# to get nice drop-down menus (and avoid the css bug with rustdoc).
"--html-before-content", "fix-docsrs-li-details-summary.html",
]