-
Notifications
You must be signed in to change notification settings - Fork 567
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
Clean up cargo manifests and generate more docs. #942
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,45 +11,41 @@ keywords = ["gui", "ui", "toolkit"] | |
edition = "2018" | ||
|
||
[package.metadata.docs.rs] | ||
# The "svg" and "image" features have doc clashes that cause undefined output in docs. | ||
# See https://github.com/rust-lang/cargo/issues/6313 for more information. | ||
# Once cargo doc becomes smart enough to handle multiple versions of the same crate, | ||
# the "svg" and "image" features should be enabled for the docs.rs output. | ||
features = ["im"] | ||
default-target = "x86_64-pc-windows-msvc" | ||
|
||
[features] | ||
x11 = ["druid-shell/x11"] | ||
svg = ["usvg"] | ||
|
||
[badges] | ||
travis-ci = { repository = "xi-editor/druid" } | ||
Comment on lines
-20
to
-21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suppose this was removed intentionally? I could not find this badge anywhere on crates.io or docs.rs 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah that's a remnant of a time when druid still used Travis CI. |
||
|
||
[dependencies] | ||
druid-shell = { version = "0.6.0", path = "../druid-shell" } | ||
druid-derive = { version = "0.4.0", path = "../druid-derive" } | ||
|
||
log = "0.4.8" | ||
simple_logger = { version = "1.6.0", default-features = false } | ||
fluent-bundle = "0.11.0" | ||
fluent-langneg = "0.12.1" | ||
fluent-syntax = "0.9.1" | ||
unic-langid = "0.8.0" | ||
unicode-segmentation = "1.6.0" | ||
log = "0.4.8" | ||
usvg = {version = "0.9.0", optional = true} | ||
fnv = "1.0.3" | ||
xi-unicode = "0.2.0" | ||
image = {version = "0.23.2", optional = true} | ||
instant = { version = "0.1", features = [ "wasm-bindgen" ] } | ||
im = { version = "14.0", optional = true } | ||
|
||
[dependencies.simple_logger] | ||
version = "1.6.0" | ||
default-features = false | ||
|
||
[dependencies.druid-shell] | ||
path = "../druid-shell" | ||
version = "0.6.0" | ||
fnv = "1.0.3" | ||
instant = { version = "0.1", features = ["wasm-bindgen"] } | ||
|
||
[dependencies.druid-derive] | ||
path = "../druid-derive" | ||
version = "0.4.0" | ||
# Optional dependencies | ||
im = { version = "14.0", optional = true } | ||
usvg = { version = "0.9.0", optional = true } | ||
image = { version = "0.23.2", optional = true } | ||
|
||
[target.'cfg(target_arch="wasm32")'.dependencies] | ||
console_log = "0.1.2" | ||
|
||
[dev-dependencies] | ||
float-cmp = { version = "0.6.0", default-features = false } | ||
tempfile = "3.1.0" | ||
piet-common = {version = "0.1.0", features = ["png"]} | ||
piet-common = { version = "0.1.0", features = ["png"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems consequent, but I'm not sure we need this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well might as well make sure that the doc format in the book examples is functional.