~chiefnoah/bare_proc

13c8c810e4a40261c27e9a092c826831309843ab — Noah Pederson 7 months ago 0dd3370
FIX missing serde dep, don't run doctest
2 files changed, 24 insertions(+), 3 deletions(-)

M Cargo.lock
M src/lib.rs
M Cargo.lock => Cargo.lock +22 -1
@@ 4,12 4,13 @@ version = 3

[[package]]
name = "bare_proc"
version = "0.1.1"
version = "0.1.2"
dependencies = [
 "pest",
 "pest_derive",
 "proc-macro2",
 "quote",
 "serde",
 "syn",
]



@@ 149,6 150,26 @@ dependencies = [
]

[[package]]
name = "serde"
version = "1.0.198"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc"
dependencies = [
 "serde_derive",
]

[[package]]
name = "serde_derive"
version = "1.0.198"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
]

[[package]]
name = "sha2"
version = "0.10.8"
source = "registry+https://github.com/rust-lang/crates.io-index"

M src/lib.rs => src/lib.rs +2 -2
@@ 55,7 55,7 @@ type Person union {Customer | Employee | TerminatedEmployee}

Then, within a Rust source file:

```
```ignore
use bare_proc::bare_schema;

bare_proc!("schema.bare");


@@ 66,7 66,7 @@ let noah = Employee {
    email: "noah@packetlost.dev",
    address: ["", "", "", ""],
    department: Department::ACCOUNTING,
    hireDate: Vec<u8>,
    hireDate: Vec::<u8>::new(),
    publicKey: None,
    metadata: HashMap::new(),
};