Skip to content

Commit 0c255db

Browse files
committedMar 13, 2025
feedback
1 parent 02336b6 commit 0c255db

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed
 

‎Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ secrets = { version = "1.2.0", default-features = false, optional = true }
5555
once_cell = {version = "1.20.3", features = ["alloc", "parking_lot"], default-features = false}
5656

5757
[features]
58-
default = []
58+
default = ["std"]
5959
std = ["secrets"]
6060

6161
[dev-dependencies]

‎README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
![Logo](./sylow.png)
22

3-
# Sylow
4-
53
[![Crates.io](https://img.shields.io/crates/v/sylow)](https://crates.io/crates/sylow)
64
[![Docs](https://img.shields.io/crates/v/sylow?color=blue&label=docs)](https://docs.rs/sylow/)
75
![CI](https://github.com/warlock-labs/sylow/actions/workflows/CI.yml/badge.svg)
86
[![codecov](https://codecov.io/gh/warlock-labs/sylow/graph/badge.svg?token=MJNRUZHI1Z)](https://codecov.io/gh/warlock-labs/sylow)
97

10-
Sylow (*ˈsyːlɔv*) is a comprehensive `#![no_std]` Rust library for elliptic curve cryptography, specifically tailored for the BN254 (
8+
Sylow (*ˈsyːlɔv*) is a comprehensive Rust library for elliptic curve cryptography, specifically tailored for the BN254 (
119
alt-bn128) curve. It provides a robust implementation of finite fields, elliptic curve groups, and pairing-based
1210
cryptography, making it an ideal choice for applications in blockchain, zero-knowledge proofs, and other cryptographic
1311
systems.
@@ -102,7 +100,8 @@ Constant-time operations are used whenever possible, and there are currently no
102100

103101
Furthermore, all key generation and manipulation utilities utilize the `secrets` crate, to ensure that all keys and
104102
signatures are `mprotect`-ed during the entirety of the application runtime. However, due to the FFI requirements of
105-
the crate, this functionality is feature flagged on the feature `std`.
103+
the crate, this functionality is feature flagged on the feature `std`, which is enabled by default. Enabling
104+
`default_features = false` in the `Cargo.toml` will compile `sylow` in `no_std`.
106105

107106
If you discover any security issues, please report them to [team@warlock.xyz](mailto:team@warlock.xyz).
108107

‎sylow.png

-2.04 MB
Loading

0 commit comments

Comments
 (0)