| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 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 |
[features] |
| 42 |
default = ["runtime"] |
| 43 |
runtime = ["bindgen/runtime"] |
| 44 |
static = ["bindgen/static"] |
| 45 |
|
| 46 |
[lib] |
| 47 |
name = "libxml" |
| 48 |
path = "src/lib.rs" |
| 49 |
|
| 50 |
[[example]] |
| 51 |
name = "schema_example" |
| 52 |
path = "examples/schema_example.rs" |
| 53 |
|
| 54 |
[[example]] |
| 55 |
name = "tree_example" |
| 56 |
path = "examples/tree_example.rs" |
| 57 |
|
| 58 |
[[example]] |
| 59 |
name = "xpath_example" |
| 60 |
path = "examples/xpath_example.rs" |
| 61 |
|
| 62 |
[[test]] |
| 63 |
name = "base_tests" |
| 64 |
path = "tests/base_tests.rs" |
| 65 |
|
| 66 |
[[test]] |
| 67 |
name = "c14n" |
| 68 |
path = "tests/c14n.rs" |
| 69 |
|
| 70 |
[[test]] |
| 71 |
name = "codec_tests" |
| 72 |
path = "tests/codec_tests.rs" |
| 73 |
|
| 74 |
[[test]] |
| 75 |
name = "dup_node_into_new_doc_tests" |
| 76 |
path = "tests/dup_node_into_new_doc_tests.rs" |
| 77 |
|
| 78 |
[[test]] |
| 79 |
name = "mutability_guards" |
| 80 |
path = "tests/mutability_guards.rs" |
| 81 |
|
| 82 |
[[test]] |
| 83 |
name = "readonly_tests" |
| 84 |
path = "tests/readonly_tests.rs" |
| 85 |
|
| 86 |
[[test]] |
| 87 |
name = "rust_owned_tests" |
| 88 |
path = "tests/rust_owned_tests.rs" |
| 89 |
|
| 90 |
[[test]] |
| 91 |
name = "schema_tests" |
| 92 |
path = "tests/schema_tests.rs" |
| 93 |
|
| 94 |
[[test]] |
| 95 |
name = "tree_tests" |
| 96 |
path = "tests/tree_tests.rs" |
| 97 |
|
| 98 |
[[test]] |
| 99 |
name = "xml_copy_invariant_tests" |
| 100 |
path = "tests/xml_copy_invariant_tests.rs" |
| 101 |
|
| 102 |
[[test]] |
| 103 |
name = "xpath_tests" |
| 104 |
path = "tests/xpath_tests.rs" |
| 105 |
|
| 106 |
[[bench]] |
| 107 |
name = "parsing_benchmarks" |
| 108 |
path = "benches/parsing_benchmarks.rs" |
| 109 |
harness = false |
| 110 |
|
| 111 |
[dependencies.libc] |
| 112 |
version = "0.2" |
| 113 |
|
| 114 |
[dev-dependencies.criterion] |
| 115 |
version = "0.8.0" |
| 116 |
|
| 117 |
[dev-dependencies.rayon] |
| 118 |
version = "1.0.0" |
| 119 |
|
| 120 |
[build-dependencies.bindgen] |
| 121 |
version = ">= 0.72, <1" |
| 122 |
default-features = false |
| 123 |
|
| 124 |
[target.'cfg(all(target_family = "windows", target_env = "gnu"))'.build-dependencies.pkg-config] |
| 125 |
version = "0.3.2" |
| 126 |
|
| 127 |
[target.'cfg(all(target_family = "windows", target_env = "msvc"))'.build-dependencies.vcpkg] |
| 128 |
version = "0.2" |
| 129 |
|
| 130 |
[target."cfg(macos)".build-dependencies.pkg-config] |
| 131 |
version = "0.3.2" |
| 132 |
|
| 133 |
[target."cfg(unix)".build-dependencies.pkg-config] |
| 134 |
version = "0.3.2" |