forked from sunjay/turtle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (44 loc) · 1.6 KB
/
Cargo.toml
File metadata and controls
52 lines (44 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "turtle"
version = "1.0.0-rc.3"
authors = ["Sunjay Varma <varma.sunjay@gmail.com>"]
description = "Learn the Rust language by creating animated drawings!"
homepage = "http://turtle.rs"
repository = "https://github.com/sunjay/turtle"
readme = "README.md"
keywords = ["turtle", "graphics", "drawing", "teaching", "beginner"]
# crates.io/category_slugs
categories = ["rendering", "rendering::graphics-api", "rendering::engine", "games", "gui"]
license = "MPL-2.0"
# Ignore all files so we can explicitly whitelist what we want to be included in
# the package
exclude = ["*"]
include = ["/README.md", "LICENSE", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md",
"CHANGELOG.md", "src/**/*.rs", "examples/**/*.rs", "examples/**/*.txt",
"tests/**/*.rs", "Cargo.toml", ".rustfmt.toml", "rust-toolchain"]
[badges]
# Appveyor: `repository` is required. `branch` is optional; default is `master`
appveyor = { repository = "sunjay/turtle" }
# Travis CI: `repository` in format "<user>/<project>" is required.
travis-ci = { repository = "sunjay/turtle" }
[dependencies]
serde = "1.0.23"
serde_derive = "1.0.23"
serde_json = "1.0.6"
piston_window = { version = "^0.73.0", optional = true }
interpolation = "0.1.0"
rand = "0.5.3"
[features]
default = ["desktop"]
desktop = ["piston_window"]
# The reason we do this is because doctests don't get cfg(test)
# See: https://github.com/rust-lang/cargo/issues/4669
#
# This allows us to write attributes like the following and have it work
# in all tests.
#
# #[cfg(any(feature = "test", test))]
#
# NOTE: This means that tests MUST be run with:
# cargo test --features "test"
test = []