๐Ÿ“ฆ Voultapher / self_cell

๐Ÿ“„ Cargo.toml ยท 26 lines
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[package]
name = "tests-extra"
version = "0.1.0"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
self_cell = { path = ".." }
crossbeam-utils = "=0.8.7"
impls = "=1.0.3"
trybuild = { version = "=1.0.37", optional = true }

# Pin specific versions to ensure transitive dependencies.
serde_json = "=1.0.6"
serde = "=1.0.103"
proc-macro2 = "=1.0.43"

[features]
default = []

# Enable testing of specific compiler errors, that are expected when building programs that would
# make self_cell unsound if they compiled successsfully. Because rustc keeps chainging the layout of
# compiler errors, this feature requires rustc version 1.51.
invalid_programs = ["trybuild"]