chore: still trying to get docs.rs build working, disabling features

This commit is contained in:
swaits committed 2024-09-24 12:17:20 -06:00
1 parent a08a35ec76
commit 69626e23be
2 files changed
+5 -5

No files matched your search

+3 -2
View File
@@ -34,8 +34,9 @@ bincode = { version = "1.3.3", optional = true }
lz4_flex = { version = "0.11.3", optional = true } lz4_flex = { version = "0.11.3", optional = true }
serde = { version = "1.0.210", optional = true } serde = { version = "1.0.210", optional = true }
[package.metadata.docs.rs] # **DISABLED** until we can get a crates.io exception
all-features = true # [package.metadata.docs.rs]
# all-features = true
[profile.dev] [profile.dev]
opt-level = 1 opt-level = 1
+2 -3
View File
@@ -15,9 +15,8 @@ fn main() {
#[cfg(feature = "default-medium")] #[cfg(feature = "default-medium")]
process_vocab("multi.wiki.bpe.vs320000.vocab"); process_vocab("multi.wiki.bpe.vs320000.vocab");
// **DISABLED** until we can get a size exception on crates.io #[cfg(feature = "default-large")]
// #[cfg(feature = "default-large")] process_vocab("multi.wiki.bpe.vs1000000.vocab");
// process_vocab("multi.wiki.bpe.vs1000000.vocab");
} }
#[cfg(any( #[cfg(any(