Skip to content

Commit 9b3d2d7

Browse files
zerosnacksDaniPopesLubov66
authored
chore: update README for 1.0 (#9540)
* start adding new benchmarks and recording * add benchmarks * add solady compilation benchmark * crop demo gif to scale better * clean up * fix morpho-blue integration test, skewed because of create2 mining * add compilation comparison for openzeppelin * add very basic getting started * add basic examples for each tool * clean up * clean up * use default MIT and Apache 2.0 licenses for auto-recognition by Github * apply default format of license, using existing fields * clean up, point to book as primary source rather than crates * clean up dev docs * spell fix * clean up * nits * nits * revert to previous license version, updated format was not necessary - possibly Github related data issue yesterday * Apply suggestions from code review Co-authored-by: DaniPopes <[email protected]> * note dual support * fix link to actions Co-authored-by: Lubov66 <[email protected]> * link directly to existing references rather than overviews * add designed benchmarks * improve size slightly * use center alignment * fix spacing * fix spacing * update image paths * remove outdated Foundry docs, users should refer to the book * remove outdated docs, Foundry book should serve as primary source until we actually focus on Foundry as a library * move demo.gif, remove unused logo * fix build * update table in fmt, restore docs for crate * try fixing rpc that is down --------- Co-authored-by: DaniPopes <[email protected]> Co-authored-by: Lubov66 <[email protected]>
1 parent 58900d8 commit 9b3d2d7

32 files changed

+435
-935
lines changed

.github/assets/banner.png

546 KB
Loading
Loading
Loading
70.7 KB
Loading
70.4 KB
Loading

.github/assets/demo.gif

1.63 MB
Loading

.github/demo.gif

-974 KB
Binary file not shown.

.github/logo.png

-14.2 KB
Binary file not shown.

Cargo.lock

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE-APACHE

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,4 @@
184184
comment syntax for the file format. We also recommend that a
185185
file or class name and description of purpose be included on the
186186
same "printed page" as the copyright notice for easier
187-
identification within third-party archives.
187+
identification within third-party archives.

LICENSE-MIT

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1616
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1717
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1818
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19-
SOFTWARE.
19+
SOFTWARE.

README.md

+289-67
Large diffs are not rendered by default.

crates/anvil/README.md

-103
This file was deleted.

crates/anvil/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#![doc = include_str!("../README.md")]
1+
//! Anvil is a fast local Ethereum development node.
2+
23
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
34

45
use crate::{

crates/cast/README.md

-5
This file was deleted.

crates/cast/bin/args.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use foundry_common::{
1616
};
1717
use std::{path::PathBuf, str::FromStr};
1818

19-
/// Perform Ethereum RPC calls from the comfort of your command line.
19+
/// A Swiss Army knife for interacting with Ethereum applications from the command line.
2020
#[derive(Parser)]
2121
#[command(
2222
name = "cast",

crates/cast/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#![doc = include_str!("../README.md")]
1+
//! Cast is a Swiss Army knife for interacting with Ethereum applications from the command line.
2+
23
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
34

45
use alloy_consensus::TxEnvelope;

crates/cast/tests/cli/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Build Profile: [..]
3737
// tests `--help` is printed to std out
3838
casttest!(print_help, |_prj, cmd| {
3939
cmd.arg("--help").assert_success().stdout_eq(str![[r#"
40-
Perform Ethereum RPC calls from the comfort of your command line
40+
A Swiss Army knife for interacting with Ethereum applications from the command line
4141
4242
Usage: cast[..] <COMMAND>
4343

crates/cheatcodes/spec/README.md

-3
This file was deleted.

crates/cheatcodes/spec/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#![doc = include_str!("../README.md")]
1+
//! Cheatcode specification for Foundry.
2+
23
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
34
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
45

crates/chisel/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ path = "bin/main.rs"
2323
[dependencies]
2424
# forge
2525
forge-fmt.workspace = true
26-
foundry-block-explorers.workspace = true
2726
foundry-cli.workspace = true
2827
foundry-common.workspace = true
2928
foundry-compilers = { workspace = true, features = ["project-util", "full"] }
@@ -38,7 +37,6 @@ alloy-primitives = { workspace = true, features = [
3837
"rlp",
3938
] }
4039
alloy-json-abi.workspace = true
41-
alloy-rpc-types.workspace = true
4240

4341
clap = { version = "4", features = ["derive", "env", "wrap_help"] }
4442
dirs = "5"

0 commit comments

Comments
 (0)