# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "musicbrainz_rs" version = "0.5.0" authors = ["okno "] description = """ MusicBrainz Rust is a utility crate for the the MusicBrainz API. """ documentation = "https://docs.rs/musicbrainz_rs" readme = "README.md" license = "MIT" repository = "https://github.com/oknozor/music_brainz_rs" [[example]] name = "fetch_artist" path = "examples/blocking/fetch_artist.rs" required-features = ["blocking"] [[example]] name = "includes" path = "examples/blocking/includes.rs" required-features = ["blocking"] [[example]] name = "browse" path = "examples/blocking/browse.rs" required-features = ["blocking"] [[example]] name = "search" path = "examples/blocking/search_artist.rs" required-features = ["blocking"] [[example]] name = "fetch_release_coverart" path = "examples/blocking/fetch_release_coverart.rs" required-features = ["blocking"] [[example]] name = "set_user_agent" path = "examples/blocking/set_user_agent.rs" required-features = ["blocking"] [[example]] name = "fetch_artist_async" path = "examples/async/fetch_artist.rs" required-features = ["async"] [[example]] name = "includes_async" path = "examples/async/includes.rs" required-features = ["async"] [[example]] name = "browse_async" path = "examples/async/browse.rs" required-features = ["async"] [[example]] name = "search_async" path = "examples/async/search_artist.rs" required-features = ["async"] [[example]] name = "fetch_release_coverart_async" path = "examples/async/fetch_release_coverart.rs" required-features = ["async"] [[example]] name = "set_user_agent_async" path = "examples/async/set_user_agent.rs" required-features = ["async"] [[test]] name = "all" path = "tests/tests.rs" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.lucene_query_builder] version = "0.3" [dependencies.once_cell] version = "1.17" [dependencies.reqwest] version = "0.11" features = ["json"] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.wasm-timer] version = "0.2" optional = true [dev-dependencies.tokio] version = "1.24" features = [ "macros", "rt", "rt-multi-thread", ] [features] async = ["wasm-timer"] blocking = ["reqwest/blocking"] default = [ "reqwest/default-tls", "async", ] rustls = ["reqwest/rustls"] [badges.travis-ci] branch = "master" repository = "oknozor/musicbrainz_rs"