Skip to content

Commit 28e055e

Browse files
authored
Remove mentions of lambdaworks-felt feature (#1610)
1 parent 39e8b08 commit 28e055e

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -105,21 +105,17 @@ You can then activate this environment by running
105105
You can add the following to your rust project's `Cargo.toml`:
106106

107107
```toml
108-
cairo-vm = { version = '0.7.0', features = ["lambdaworks-felt"] }
108+
cairo-vm = { version = '0.7.0'}
109109
```
110110

111-
The `features = ["lambdaworks-felt"]` part adds usage of [`lambdaworks-math`](https://github.com/lambdaclass/lambdaworks) as the backend for `Felt252`. This improves performance by more than 20%, and will be the default in the future.
112-
113111
### Running cairo-vm from CLI
114112

115113
To run programs from the command line, first compile the repository from the cairo-vm-cli folder:
116114

117115
```bash
118-
cd cairo-vm-cli; cargo build --release -F lambdaworks-felt; cd ..
116+
cd cairo-vm-cli; cargo build --release; cd ..
119117
```
120118

121-
The `-F lambdaworks-felt` part adds usage of [`lambdaworks-math`](https://github.com/lambdaclass/lambdaworks) as the backend for `Felt252`. This improves performance by more than 20%, and will be the default in the future.
122-
123119
Once the binary is built, it can be found in `target/release/` under the name `cairo-vm-cli`.
124120

125121
In order to compile Cairo programs you need to activate the environment created while installing dependencies. To start it, run:

vm/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
//! - `with_mimalloc`: Use [`MiMalloc`](https://crates.io/crates/mimalloc) as the program global allocator.
99
//! - `cairo-1-hints`: Enable hints that were introduced in Cairo 1. Not enabled by default.
1010
//! - `arbitrary`: Enables implementations of [`arbitrary::Arbitrary`](https://docs.rs/arbitrary/latest/arbitrary/) for some structs. Not enabled by default.
11-
//! - `lambdaworks-felt`: Enables usage of the [**lambdaworks**](https://github.com/lambdaclass/lambdaworks) backend for [`felt::Felt252`]. Not enabled by default.
1211
1312
#![cfg_attr(docsrs, feature(doc_cfg))]
1413
#![deny(warnings)]

0 commit comments

Comments
 (0)