Skip to content

Commit

Permalink
rename "derive" to "dagrs-derive"
Browse files Browse the repository at this point in the history
  • Loading branch information
191220029 authored and genedna committed Dec 24, 2024
1 parent 71bbfd8 commit c9c15a8
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
19 changes: 16 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ keywords = [
]

[workspace]
members = [".", "derive"]
members = [".", "dagrs-derive"]

[dependencies]
tokio = { version = "1.28", features = ["rt", "sync", "rt-multi-thread"] }
log = "0.4"
env_logger = "0.10.1"
async-trait = "0.1.83"
derive = { path = "derive", optional = true }
dagrs-derive = { path = "dagrs-derive", optional = true }
proc-macro2 = "1.0"
futures = "0.3.31"

Expand All @@ -41,8 +41,21 @@ criterion = { version = "0.5.1", features = ["html_reports"] }

[features]
default = ["derive"]
derive = ["derive/derive"]
derive = ["dagrs-derive/derive"]

[[example]]
name = "auto_node"
required-features = ["derive"]

[[example]]
name = "auto_relay"
required-features = ["derive"]

[[example]]
name = "compute_dag"

[[example]]
name = "custom_node"

[[example]]
name = "hello_dagrs"
2 changes: 1 addition & 1 deletion derive/Cargo.toml → dagrs-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "derive"
name = "dagrs-derive"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ pub use tokio;
pub use utils::{env::EnvVar, output::Output};

#[cfg(feature = "derive")]
pub use derive::*;
pub use dagrs_derive::*;

0 comments on commit c9c15a8

Please sign in to comment.