| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2024" |
| 14 |
name = "libxml" |
| 15 |
version = "0.3.14" |
| 16 |
authors = [ |
| 17 |
"Andreas Franzén <[email protected]>", |
| 18 |
"Deyan Ginev <[email protected]>", |
| 19 |
"Jan Frederik Schaefer <[email protected]>", |
| 20 |
] |
| 21 |
build = "build.rs" |
| 22 |
exclude = ["scripts/*"] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "A Rust wrapper for libxml2 - the XML C parser and toolkit developed for the Gnome project" |
| 29 |
documentation = "https://kwarc.github.io/rust-libxml/libxml/index.html" |
| 30 |
readme = "README.md" |
| 31 |
keywords = [ |
| 32 |
"xml", |
| 33 |
"libxml", |
| 34 |
"xpath", |
| 35 |
"parser", |
| 36 |
"html", |
| 37 |
] |
| 38 |
license = "MIT" |
| 39 |
repository = "https://github.com/KWARC/rust-libxml" |
| 40 |
|
| 41 |
[lib] |
| 42 |
name = "libxml" |
| 43 |
path = "src/lib.rs" |
| 44 |
|
| 45 |
[[example]] |
| 46 |
name = "schema_example" |
| 47 |
path = "examples/schema_example.rs" |
| 48 |
|
| 49 |
[[example]] |
| 50 |
name = "tree_example" |
| 51 |
path = "examples/tree_example.rs" |
| 52 |
|
| 53 |
[[example]] |
| 54 |
name = "xpath_example" |
| 55 |
path = "examples/xpath_example.rs" |
| 56 |
|
| 57 |
[[test]] |
| 58 |
name = "base_tests" |
| 59 |
path = "tests/base_tests.rs" |
| 60 |
|
| 61 |
[[test]] |
| 62 |
name = "c14n" |
| 63 |
path = "tests/c14n.rs" |
| 64 |
|
| 65 |
[[test]] |
| 66 |
name = "codec_tests" |
| 67 |
path = "tests/codec_tests.rs" |
| 68 |
|
| 69 |
[[test]] |
| 70 |
name = "dup_node_into_new_doc_tests" |
| 71 |
path = "tests/dup_node_into_new_doc_tests.rs" |
| 72 |
|
| 73 |
[[test]] |
| 74 |
name = "mutability_guards" |
| 75 |
path = "tests/mutability_guards.rs" |
| 76 |
|
| 77 |
[[test]] |
| 78 |
name = "readonly_tests" |
| 79 |
path = "tests/readonly_tests.rs" |
| 80 |
|
| 81 |
[[test]] |
| 82 |
name = "rust_owned_tests" |
| 83 |
path = "tests/rust_owned_tests.rs" |
| 84 |
|
| 85 |
[[test]] |
| 86 |
name = "schema_tests" |
| 87 |
path = "tests/schema_tests.rs" |
| 88 |
|
| 89 |
[[test]] |
| 90 |
name = "tree_tests" |
| 91 |
path = "tests/tree_tests.rs" |
| 92 |
|
| 93 |
[[test]] |
| 94 |
name = "xml_copy_invariant_tests" |
| 95 |
path = "tests/xml_copy_invariant_tests.rs" |
| 96 |
|
| 97 |
[[test]] |
| 98 |
name = "xpath_tests" |
| 99 |
path = "tests/xpath_tests.rs" |
| 100 |
|
| 101 |
[dependencies.libc] |
| 102 |
version = "0.2" |
| 103 |
|
| 104 |
[dev-dependencies.rayon] |
| 105 |
version = "1.0.0" |
| 106 |
|
| 107 |
[build-dependencies.bindgen] |
| 108 |
version = ">= 0.72, <1" |
| •109 |
features = [ "runtime" ] |
| 110 |
default-features = false |
| 111 |
|
| 112 |
[target.'cfg(all(target_family = "windows", target_env = "gnu"))'.build-dependencies.pkg-config] |
| 113 |
version = "0.3.2" |
| 114 |
|
| 115 |
[target.'cfg(all(target_family = "windows", target_env = "msvc"))'.build-dependencies.vcpkg] |
| 116 |
version = "0.2" |
| 117 |
|
| 118 |
[target."cfg(macos)".build-dependencies.pkg-config] |
| 119 |
version = "0.3.2" |
| 120 |
|
| 121 |
[target."cfg(unix)".build-dependencies.pkg-config] |
| 122 |
version = "0.3.2" |