Skip to content

Commit

Permalink
feat: prepare the lib to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrielFR committed Jan 5, 2025
1 parent 298eafa commit c079966
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ members = [
"lib/ferogram-macros",
]
resolver = "2"

[patch.crates-io]
ferogram = { path = "lib/ferogram" }
# ferogram-lua = { path = "lib/ferogram-lua" }
ferogram-macros = { path = "lib/ferogram-macros" }
ferogram-python = { path = "lib/ferogram-python" }
8 changes: 5 additions & 3 deletions lib/ferogram/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ license = "MIT OR Apache-2.0"
description = """
Ferogram is a simple telegram bot framework written in Rust.
"""
readme = "README.md"
homepage = "https://github.com/AmanoTeam/ferogram"
repository = "https://github.com/AmanoTeam/ferogram"
keywords = ["telegram", "bot", "framework", "grammers"]
edition = "2021"
exclude = [".github/*", ".rusty-hook.toml"]

[lib]
doctest = false
Expand All @@ -23,9 +25,9 @@ lua = ["mlua"]
python = ["pyo3", "pyo3-async-runtimes"]

[dependencies]
ferogram-macros = { path = "../ferogram-macros", optional = true }
grammers-client = { git = "https://github.com/Lonami/grammers.git" }
grammers-mtsender = { git = "https://github.com/Lonami/grammers.git" }
ferogram-macros = { path = "../ferogram-macros", version = "0.1.0", optional = true }
grammers-client = { git = "https://github.com/Lonami/grammers.git", version = "0.7.0" }
grammers-mtsender = { git = "https://github.com/Lonami/grammers.git", version = "0.7.0" }

log = "0.4.22"
mlua = { version = "^0.10", features = ["async", "lua54", "module"], optional = true }
Expand Down

0 comments on commit c079966

Please sign in to comment.