Skip to content

Commit

Permalink
Fix workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i committed Aug 10, 2023
1 parent dae769c commit 405a812
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
11 changes: 10 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
[package]
name = "simple_cache"
version ="1.0.0-beta"

[workspace.package]
version = "1.0.0-beta"
authors = ["Collins Muriuki <[email protected]>"]
description = "Simple rust caching tools"
edition = "2021"
keywords = ["caching"]
repository = "https://github.com/collinsmuriuki/simple_cache"
readme = "./README.md"
license = "MIT"

[dependencies]
simple_cache_macros = {version="1.0.0-beta", path = "./macros"}
simple_cache_macros = {path = "./macros"}

[workspace]
members = [
Expand Down
10 changes: 8 additions & 2 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
[package]
name = "simple_cache_core"
version = "1.0.0-beta"
edition = "2021"
authors.workspace = true
description.workspace = true
edition.workspace = true
keywords.workspace = true
repository.workspace = true
readme.workspace = true
license.workspace = true
version.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
10 changes: 8 additions & 2 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
[package]
name = "simple_cache_macros"
version = "1.0.0-beta"
edition = "2021"
authors.workspace = true
description.workspace = true
edition.workspace = true
keywords.workspace = true
repository.workspace = true
readme.workspace = true
license.workspace = true
version.workspace = true

[lib]
proc-macro = true
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
extern crate simple_cache_macros;

pub use simple_cache_macros::ttl_cache;

0 comments on commit 405a812

Please sign in to comment.