Skip to content

Commit

Permalink
Mark markdown as unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrandt committed Feb 4, 2024
1 parent 97e84c0 commit 69c75d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@ use itertools::Itertools;
mod characters;
#[cfg(feature = "tokenizers")]
mod huggingface;
#[cfg(feature = "markdown")]
mod markdown;
mod text;
#[cfg(feature = "tiktoken-rs")]
mod tiktoken;
#[cfg(feature = "markdown")]
pub mod unstable_markdown;

pub use characters::Characters;
#[cfg(feature = "markdown")]
pub use markdown::MarkdownSplitter;
pub use text::TextSplitter;

/// Result returned from a `ChunkSizer`. Includes the size of the chunk, in units
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use fake::{Fake, Faker};
use itertools::Itertools;
use more_asserts::assert_le;
#[cfg(feature = "markdown")]
use text_splitter::MarkdownSplitter;
use text_splitter::unstable_markdown::MarkdownSplitter;

#[cfg(feature = "markdown")]
#[test]
Expand Down

0 comments on commit 69c75d3

Please sign in to comment.