kaichaosun / rlt

Localtunnel implementation in Rust, expose local API to the public.
MIT License
85 stars 11 forks source link

Could not build in linux #32

Open longzou opened 2 months ago

longzou commented 2 months ago

Build this in Ubuntu 20.04

error: failed to select a version for env_logger. ... required by package localtunnel v0.1.3 (/root/workshop/rlt/cli) versions that meet the requirements ^0.11 (locked to 0.11.3) are: 0.11.3

the package localtunnel depends on env_logger, with features: anstream but env_logger does not have these features. It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.

failed to select a version for env_logger which could resolve this conflict

But I can build it on Windows.

kaichaosun commented 2 months ago

After a quick search, anstream is dependency of env_logger, not a feature. Have you try delete cargo.lock?