We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06fd547 + 778dd29 commit dcc4aa2Copy full SHA for dcc4aa2
Cargo.toml
@@ -6,6 +6,7 @@ categories = ["asynchronous", "no-std"]
6
description = "Type erasure for async trait methods"
7
documentation = "https://docs.rs/async-trait"
8
edition = "2021"
9
+exclude = ["build.rs"]
10
keywords = ["async"]
11
license = "MIT OR Apache-2.0"
12
repository = "https://github.com/dtolnay/async-trait"
build.rs
@@ -0,0 +1,5 @@
1
+fn main() {
2
+ // Warning: build.rs is not published to crates.io.
3
+
4
+ println!("cargo:rustc-check-cfg=cfg(async_trait_nightly_testing)");
5
+}
0 commit comments