Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rust_lekstuga
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Nilsson
Rust_lekstuga
Commits
37105b37
Commit
37105b37
authored
9 years ago
by
Anders Nilsson
Browse files
Options
Downloads
Patches
Plain Diff
Moved in .cargo, tested importing external crate
parent
83fd1386
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.cargo/config
+45
-0
45 additions, 0 deletions
.cargo/config
guessing_game/Cargo.lock
+37
-0
37 additions, 0 deletions
guessing_game/Cargo.lock
guessing_game/Cargo.toml
+3
-0
3 additions, 0 deletions
guessing_game/Cargo.toml
with
85 additions
and
0 deletions
.cargo/config
0 → 100644
+
45
−
0
View file @
37105b37
# An array of paths to local repositories which are to be used as overrides for
# dependencies. For more information see the Cargo Guide.
paths = []
[cargo-new]
# This is your name/email to place in the `authors` section of a new Cargo.toml
# that is generated. If not present, then `git` will be probed, and if that is
# not present then `$USER` and `$EMAIL` will be used.
name = "Anders Nilsson"
email = "anders.nilsson@control.lth.se"
# By default `cargo new` will initialize a new git repository. This key can be
# set to `none` to disable this behavior.
vcs = "none"
# For the following sections, $triple refers to any valid target triple, not the
# literal string "$triple", and it will apply whenever that target triple is
# being compiled to.
[target]
# For cargo builds which do not mention --target, these are the ar/linker tools
# which are passed to rustc to use (via `-C ar=` and `-C linker=`). By default
# these flags are not passed to the compiler.
ar = ".."
linker = ".."
#[target.$triple]
# Similar to the above ar/linker tool configuration, but this only applies to
# when the `$triple` is being compiled for.
#ar = ".."
#linker = ".."
# Configuration keys related to the registry
#[registry]
#index = "..." # URL of the registry index (defaults to the central repository)
#token = "..." # Access token (found on the central repo's website)
[http]
#proxy = "..." # HTTP proxy to use for HTTP requests (defaults to none)
#timeout = 60000 # Timeout for each HTTP request, in milliseconds
[build]
jobs = 1 # number of jobs to run by default (default to # cpus)
rustc = "rustc" # the rust compiler tool
rustdoc = "rustdoc" # the doc generator tool
target-dir = "target" # path of where to place all generated artifacts
\ No newline at end of file
This diff is collapsed.
Click to expand it.
guessing_game/Cargo.lock
+
37
−
0
View file @
37105b37
[root]
name = "guessing_game"
version = "0.1.0"
dependencies = [
"rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "advapi32-sys"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "libc"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "rand"
version = "0.3.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"advapi32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "winapi"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "winapi-build"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
This diff is collapsed.
Click to expand it.
guessing_game/Cargo.toml
+
3
−
0
View file @
37105b37
...
...
@@ -2,3 +2,6 @@
name
=
"guessing_game"
version
=
"0.1.0"
authors
=
[
"Anders Nilsson <anders.nilsson@control.lth.se>"
]
[dependencies]
rand
=
{
version
=
"*"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment