Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split project into two crates mp4parse and mp4parse_capi (fixes #18) #21

Merged
merged 1 commit into from
Sep 1, 2016

Conversation

nox
Copy link
Contributor

@nox nox commented Aug 30, 2016

No description provided.

@nox
Copy link
Contributor Author

nox commented Aug 31, 2016

Rebased and ready to be merged. :)

build = "build.rs"

[dependencies]
"mp4parse" = {path = "../mp4parse"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the idea would be to rewrite this to a version number every time I want to publish a new version of the crates?

At least cargo publish complains, so it's not possible to forget.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean it complains?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ cargo publish
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: all path dependencies must have a version specified when publishing.
dependency `mp4parse` does not specify a version

I filed rust-lang/cargo#3060 to add the same check to cargo package.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right! https://github.com/serde-rs/serde/blob/master/serde_codegen/Cargo.toml#L36

This is not a bug and it indeed needs a version number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants