xso-proc: Replace std stuff with alloc/core stuff

This commit is contained in:
xmppftw xmppftw 2024-12-19 19:56:17 +01:00 committed by Emmanuel Gil Peyrot
commit 4e5f0bc961
8 changed files with 12 additions and 8 deletions

View file

@ -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")]