Skip to content

Commit 7e4da7b

Browse files
committed
feat(core): update dependencies and version to 0.1.2 in Cargo.toml
1 parent c485cfd commit 7e4da7b

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace.package]
2-
version = "0.1.1"
2+
version = "0.1.2"
33
edition = "2024"
44
license = "Apache-2.0"
55
repository = "https://github.com/longcipher/ast-doc"
@@ -15,8 +15,8 @@ resolver = "3"
1515

1616
[workspace.dependencies]
1717
# local crates
18-
ast-doc = { path = "bin/ast-doc", version = "0.1.1" }
19-
ast-doc-core = { path = "crates/ast-doc-core", version = "0.1.1" }
18+
ast-doc = { path = "bin/ast-doc", version = "0.1.2" }
19+
ast-doc-core = { path = "crates/ast-doc-core", version = "0.1.2" }
2020

2121
# external crates
2222
clap = "4.6.0"

bin/ast-doc/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ description = "CLI for generating optimized llms.txt documentation from codebase
1212
readme = "README.md"
1313

1414
[features]
15+
default = ["all-languages"]
16+
all-languages = ["ast-doc-core/all-languages"]
1517
hotpath = ["ast-doc-core/hotpath", "dep:hotpath"]
1618

1719
[dependencies]

crates/ast-doc-core/src/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ pub fn parse_file(file: &DiscoveredFile, lang: &Language) -> Result<ParsedFile,
167167
Language::Generic(name) => {
168168
lang::generic_parser::GenericParser::new(name).parse(&file.content, &file.path)
169169
}
170-
#[cfg_attr(not(feature = "lang-pack"), expect(unreachable_patterns))]
170+
#[allow(unreachable_patterns)]
171171
_ => Err(AstDocError::UnsupportedLanguage { language: lang.to_string() }),
172172
}
173173
}

0 commit comments

Comments
 (0)