Skip to content

Commit 9ce8c90

Browse files
committed
Crate metadata
1 parent c4a9653 commit 9ce8c90

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

Cargo.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@ authors = ["Vladimir Matveev <vmatveev@citrine.cc>", "Kornel (https://github.com
55
license = "MIT"
66
description = "An XML library in pure Rust"
77
repository = "https://github.com/kornelski/xml-rs"
8-
homepage = "https://lib.rs/crates/xml-rs"
9-
documentation = "https://docs.rs/xml-rs/"
8+
homepage = "https://lib.rs/crates/xml"
9+
documentation = "https://docs.rs/xml/"
1010
readme = "README.md"
1111
keywords = ["xml", "parser", "sax", "event-reader", "writer"]
1212
categories = ["parser-implementations"]
1313
edition = "2021"
1414
rust-version = "1.70"
1515
include = ["src/**", "LICENSE", "README.md"]
1616

17-
[lib]
18-
name = "xml"
19-
path = "src/lib.rs"
20-
2117
[badges]
2218
maintenance = { status = "actively-developed" }
2319

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ xml-rs, an XML library for Rust
22
===============================
33

44
[![CI](https://github.com/kornelski/xml-rs/actions/workflows/main.yml/badge.svg)](https://github.com/kornelski/xml-rs/actions/workflows/main.yml)
5-
[![crates.io][crates-io-img]](https://lib.rs/crates/xml-rs)
6-
[![docs][docs-img]](https://docs.rs/xml-rs/)
5+
[![crates.io][crates-io-img]](https://lib.rs/crates/xml)
6+
[![docs][docs-img]](https://docs.rs/xml/)
77

8-
[Documentation](https://docs.rs/xml-rs/)
8+
[Documentation](https://docs.rs/xml/)
99

1010
[crates-io-img]: https://img.shields.io/crates/v/xml-rs.svg
1111
[docs-img]: https://img.shields.io/badge/docs-latest%20release-6495ed.svg
@@ -63,7 +63,7 @@ Reading XML documents
6363

6464
[`xml::reader::EventReader`](EventReader) requires a [`Read`](stdread) instance to read from. It can be a `File` wrapped in `BufReader`, or a `Vec<u8>`, or a `&[u8]` slice.
6565

66-
[EventReader]: https://docs.rs/xml-rs/latest/xml/reader/struct.EventReader.html
66+
[EventReader]: https://docs.rs/xml/latest/xml/reader/struct.EventReader.html
6767
[stdread]: https://doc.rust-lang.org/stable/std/io/trait.Read.html
6868

6969
`EventReader` implements `IntoIterator` trait, so you can use it in a `for` loop directly:
@@ -94,7 +94,7 @@ fn main() -> std::io::Result<()> {
9494
eprintln!("Error: {e}");
9595
break;
9696
}
97-
// There's more: https://docs.rs/xml-rs/latest/xml/reader/enum.XmlEvent.html
97+
// There's more: https://docs.rs/xml/latest/xml/reader/enum.XmlEvent.html
9898
_ => {}
9999
}
100100
}
@@ -122,7 +122,7 @@ error or end-of-document event once and will produce `None` afterwards.
122122
It is also possible to tweak parsing process a little using [`xml::reader::ParserConfig`][ParserConfig] structure.
123123
See its documentation for more information and examples.
124124

125-
[ParserConfig]: https://docs.rs/xml-rs/latest/xml/reader/struct.ParserConfig.html
125+
[ParserConfig]: https://docs.rs/xml/latest/xml/reader/struct.ParserConfig.html
126126

127127
You can find a more extensive example of using `EventReader` in `src/analyze.rs`, which is a
128128
small program (BTW, it is built with `cargo build` and can be run after that) which shows various
@@ -202,12 +202,12 @@ XmlEvent::cdata("some unescaped text")
202202
Of course, one can create `XmlEvent` enum variants directly instead of using the builder DSL.
203203
There are more examples in [`xml::writer::XmlEvent`][XmlEvent] documentation.
204204

205-
[XmlEvent]: https://docs.rs/xml-rs/latest/xml/reader/enum.XmlEvent.html
205+
[XmlEvent]: https://docs.rs/xml/latest/xml/reader/enum.XmlEvent.html
206206

207207
The writer has multiple configuration options; see `EmitterConfig` documentation for more
208208
information.
209209

210-
[EmitterConfig]: https://docs.rs/xml-rs/latest/xml/writer/struct.EmitterConfig.html
210+
[EmitterConfig]: https://docs.rs/xml/latest/xml/writer/struct.EmitterConfig.html
211211

212212
Bug reports
213213
------------

0 commit comments

Comments
 (0)