Make demo publishable from source tree ('cxx-demo' on crates.io)

This commit is contained in:
David Tolnay 2020-11-22 11:14:56 -08:00
parent 0c4f92b040
commit 1a003e5e5a
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -2,11 +2,14 @@
name = "demo"
version = "0.0.0"
authors = ["David Tolnay <dtolnay@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Toy project from https://github.com/dtolnay/cxx"
repository = "https://github.com/dtolnay/cxx"
edition = "2018"
publish = false
[dependencies]
cxx = { path = ".." }
cxx = { version = "1.0", path = ".." }
[build-dependencies]
cxx-build = { path = "../gen/build" }
cxx-build = { version = "1.0", path = "../gen/build" }