Implement fallback to compiling serde_derive from source

This commit is contained in:
David Tolnay
2023-07-19 13:48:37 -07:00
parent 07dcc4f7fe
commit 041e99c78a
17 changed files with 303 additions and 240 deletions
-16
View File
@@ -1,16 +0,0 @@
```toml
# Cargo.toml
[dependencies]
serde = "1" # no features=["derive"]
serde_derive-x86_64-unknown-linux-gnu = "1.0.171-alpha.3"
```
```rust
use serde_derive::{Deserialize, Serialize};
#[derive(Deserialize, Serialize)]
pub struct MyStruct {
/* ... */
}
```
+1
View File
@@ -0,0 +1 @@
../../README.md