Skip to content

Commit 0191e94

Browse files
committed
docs(rust): remove adding cc as a build dependency for consumers
1 parent dcdd5bc commit 0191e94

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/binding_rust/README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ use tree_sitter::{InputEdit, Language, Parser, Point};
1717
let mut parser = Parser::new();
1818
```
1919

20-
Add the `cc` crate to your `Cargo.toml` under `[build-dependencies]`:
21-
22-
```toml
23-
[build-dependencies]
24-
cc="*"
25-
```
26-
2720
Then, add a language as a dependency:
2821

2922
```toml
@@ -32,7 +25,7 @@ tree-sitter = "0.24"
3225
tree-sitter-rust = "0.23"
3326
```
3427

35-
To then use a language, you assign them to the parser.
28+
To use a language, you assign them to the parser.
3629

3730
```rust
3831
parser.set_language(&tree_sitter_rust::LANGUAGE.into()).expect("Error loading Rust grammar");

0 commit comments

Comments
 (0)