mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 15:55:14 +00:00
craft-xlsx: the testing module is built only for tests and the test-support feature (#1387)
This commit is contained in:
1 parent
33fcc89398
commit
3948c83c00
3 files changed
+9
No files matched your search
Generated
+1
@@ -3254,6 +3254,7 @@ dependencies = [
|
||||
"craft-drawingml",
|
||||
"craft-opc",
|
||||
"craft-sheet",
|
||||
"craft-xlsx",
|
||||
"craft-xml",
|
||||
"thiserror 2.0.21",
|
||||
]
|
||||
|
||||
@@ -10,9 +10,16 @@ repository.workspace = true
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
# `testing`: writers of small workbooks and packages, for the tests of crates that read them.
|
||||
test-support = []
|
||||
|
||||
[dependencies]
|
||||
craft-drawingml = { workspace = true }
|
||||
craft-opc = { workspace = true }
|
||||
craft-sheet = { workspace = true }
|
||||
craft-xml = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
craft-xlsx = { path = ".", features = ["test-support"] }
|
||||
@@ -60,6 +60,7 @@ mod richdata;
|
||||
mod sheet;
|
||||
mod strings;
|
||||
mod styles;
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
#[doc(hidden)]
|
||||
pub mod testing;
|
||||
mod workbook;
|
||||
|
||||
Reference in new issue
Block a user