waxwing on Nostr: Could any Rustaceans out there explain: I have a package (toy-rpc), if i enter its ...
Could any Rustaceans out there explain:
I have a package (toy-rpc), if i enter its version in Cargo.toml I get one specific error when i run `cargo check` (or build ofc). This is ok, i can solve that error.
When I change from version to local file in Cargo.toml **, while making sure the local git repo is checked out at exactly the same commit (one that is tagged with the same version no.), I get a bunch of different errors.
I'm stumped; considering as, per commit hash, I'm compiling against literally the exact same code.
Any one know what I missed?
** i.e `toy-rpc = {path = "/path/to/toy-rpc", ...}`
Published at
2024-08-08 21:44:05Event JSON
{
"id": "76068160844ff6d5259b210c9a7d3533e59e5e60a5b28400b9c3f75bd4d7ee76",
"pubkey": "675b84fe75e216ab947c7438ee519ca7775376ddf05dadfba6278bd012e1d728",
"created_at": 1723153445,
"kind": 1,
"tags": [
[
"r",
"Cargo.toml"
],
[
"r",
"Cargo.toml"
]
],
"content": "Could any Rustaceans out there explain:\n\nI have a package (toy-rpc), if i enter its version in Cargo.toml I get one specific error when i run `cargo check` (or build ofc). This is ok, i can solve that error.\n\nWhen I change from version to local file in Cargo.toml **, while making sure the local git repo is checked out at exactly the same commit (one that is tagged with the same version no.), I get a bunch of different errors.\n\nI'm stumped; considering as, per commit hash, I'm compiling against literally the exact same code.\nAny one know what I missed?\n\n** i.e `toy-rpc = {path = \"/path/to/toy-rpc\", ...}`",
"sig": "0c4b9ca69fe6c2f3a2a84bdfcdc6f0709d3b289d601be16b8a783c3453ea088be6f424afccaf78b9e707622d0b70b74a819498f9fd0c68792012d57374790bbc"
}