Skip to content

Commit

Permalink
Add kona-derive boilerplate (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby authored Feb 22, 2024
1 parent df10e79 commit 5afe65e
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions crates/derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "kona-derive"
description = "A no_std derivation pipeline implementation for the OP Stack"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true

[dependencies]
# ...
4 changes: 4 additions & 0 deletions crates/derive/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# `kona-derive`

A `no_std` compatible implementation of the OP Stack's
[derivation pipeline](https://specs.optimism.io/protocol/derivation.html#l2-chain-derivation-specification).
10 changes: 10 additions & 0 deletions crates/derive/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#![doc = include_str!("../README.md")]
#![warn(
missing_debug_implementations,
missing_docs,
unreachable_pub,
rustdoc::all
)]
#![deny(unused_must_use, rust_2018_idioms)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![no_std]

0 comments on commit 5afe65e

Please sign in to comment.