Merge pull request #836 from teloxide/multiversion

Automatically use `path` versions for development
This commit is contained in:
Waffle Maybe 2023-02-04 03:52:35 +04:00 committed by GitHub
commit fb48943871
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -17,6 +17,8 @@ categories = ["api-bindings", "asynchronous"]
[features]
# NB: When adding features here, don't forget to update teloxide's Cargo.toml
default = ["native-tls"]
rustls = ["reqwest/rustls-tls"]

View file

@ -63,17 +63,15 @@ full = [
[dependencies]
teloxide-core = { version = "0.9.0", default-features = false }
teloxide-macros = { version = "0.7.1", optional = true }
teloxide-core = { version = "0.9.0", path = "../teloxide-core", default-features = false }
teloxide-macros = { version = "0.7.1", path = "../teloxide-macros", optional = true }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
dptree = "0.3.0"
# These lines are used only for development.
# teloxide-core = { path = "../teloxide-core", default-features = false }
# teloxide-macros = { path = "../teloxide-macros", optional = true }
# Uncomment this if you want to test teloxide with a specific dptree commit
# dptree = { git = "https://github.com/teloxide/dptree", rev = "df578e4" }
tokio = { version = "1.8", features = ["fs"] }