xso-proc: Replace std stuff with alloc/core stuff
This commit is contained in:
parent
4ac792b4d4
commit
4e5f0bc961
8 changed files with 12 additions and 8 deletions
|
|
@ -588,6 +588,7 @@ a field, for consistency.
|
|||
#### Example without codec
|
||||
|
||||
```rust
|
||||
# extern crate alloc;
|
||||
# use xso::FromXml;
|
||||
#[derive(FromXml, Debug, PartialEq)]
|
||||
#[xml(namespace = "urn:example", name = "foo")]
|
||||
|
|
@ -605,6 +606,7 @@ assert_eq!(foo, Foo {
|
|||
#### Example with codec
|
||||
|
||||
```rust
|
||||
# extern crate alloc;
|
||||
# use xso::FromXml;
|
||||
#[derive(FromXml, Debug, PartialEq)]
|
||||
#[xml(namespace = "urn:example", name = "foo")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue