mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 02:01:03 +00:00
Implement fallback to compiling serde_derive from source
This commit is contained in:
@@ -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
@@ -0,0 +1 @@
|
||||
../../README.md
|
||||
Reference in New Issue
Block a user